#46218 - danvx6 - Tue Jun 21, 2005 8:03 pm
Hello.
I am having some trouble compiling my source code with DevKitARM, the code compiles fine with DevKitAdvance, but DKARM give me warnings.
The warnings I get are:
In file included from pong.c:4:
bg0.h:4:1: warning: "/*" within comment
...
pong.c: In function `main':
pong.c:106: warning: implicit declaration of function `memcpy'
...
pong.c: In function `MoveAI':
pong.c:392: warning: implicit declaration of function `rand'
...
I know that I can eliminate the comment warnings by editing my .h files (although a quicker way would be nice) but I do not know how to eliminate the function warnings. The code compiles with no warnings in DevKitAdvance, which bothers me. Any help is appreciated, thanks.
I am having some trouble compiling my source code with DevKitARM, the code compiles fine with DevKitAdvance, but DKARM give me warnings.
The warnings I get are:
In file included from pong.c:4:
bg0.h:4:1: warning: "/*" within comment
...
pong.c: In function `main':
pong.c:106: warning: implicit declaration of function `memcpy'
...
pong.c: In function `MoveAI':
pong.c:392: warning: implicit declaration of function `rand'
...
I know that I can eliminate the comment warnings by editing my .h files (although a quicker way would be nice) but I do not know how to eliminate the function warnings. The code compiles with no warnings in DevKitAdvance, which bothers me. Any help is appreciated, thanks.