hello guys,
I am using codewarrior v9.2 for palm now. I found some wierd things, not sure whether
they are codewarrior's bugs:
1. sometimes after I changed my code, the first make will give me dozens of errors,
but if I make it again, error numbers decrease dramatically;
2. If I put source code into more than one .c file, there will be link
errors/warnings. For example, main source file is A; A calls some functions in B. I
declared these functions in A.h. Both A and B include A.h:
in A.h:
void a(); //define function a()
in A.c:
#include A.h
...//do something
a(); //call function a()
...//do something
in B.c:
#include A.h
void a(){
...//do something
}
Once I try to compile this project, there will be a link warning : function has no
prototype. Sometimes it will warn me that function has been already defined.
Does anybody have similar problems before? Are these codewarrior's bugs, or I am wrong?
thanks,
Eric
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/