warning: deprecated use of label at end of compound statement
I tried compiling a c program with gcc 3.2, it compiles but with warnings. The error is "warning: deprecated use of label at end of compound statement". When I try to run the program, it gives me a bunch of "undefined references" messages on variables in the program. Some research hinted I may be using non standard ISO coding, but no solutions. I think the problem may be null default statements in my case statements but am not sure. I googled and found references to a patch, but cannot find the patch. I thought updating gcc would help, but when I tried to unpack gcc 3.4.3 (a 26 meg file), the computer seemed to hang. Is there a simple coding trick I am missing, or should I find an uncorrupted copy of gcc 3.4.3? Any help?:newbie:
|
Quote:
The undefinedf references may be due to uncompile source files.... are you sure you're compiling all source codes? Like gcc source1.c source2.c source3.c ??? |
All times are GMT -5. The time now is 04:53 PM. |