回答編集履歴

1

implicit declaration

2021/06/08 06:07

投稿

int32_t
int32_t

スコア20892

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