回答編集履歴
1
implicit declaration
answer
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
> too few aguments to function SDL_SetRenderDrawColor
|
2
2
|
|
3
3
|
`SDL_SetRenderDrawColor()`の引数が足りないと言っています。
|
4
|
-
`SDL_SetRenderDrawColor()`の呼び出しはコード中に3つありますが、1つだけ引数の数が違いますね。
|
4
|
+
`SDL_SetRenderDrawColor()`の呼び出しはコード中に3つありますが、1つだけ引数の数が違いますね。
|
5
|
+
|
6
|
+
----
|
7
|
+
|
8
|
+
> warning: implicit declaration of function ‘SDL_filledCircleColor’ [-Wimplicit-function-declaration]
|
9
|
+
|
10
|
+
`SDL_filledCircleColor` なんて関数は知らないと言っています。他のSDL_*関数ではこの警告は出ていないのでしょうから、SDLのヘッダはちゃんと#includeされているのでしょう。`SDL_filledCircleColor` の中にスペルミスや大文字小文字の間違いがないかチェックしましょう。
|