Hi,

I just want to report a minor issue in PODS:
I have a C file in which I put every function in EXTRA_SECTION_THREE (the .h 
declares only few prototypes). 

Every function, beside the last, looks like:
int foo ()
{
}EXTRA_SECTION_THREE

1) That compiles without complains. Notice here that there is no semicolon 
behind EXTRA_SECTION_THREE (of course you don't need one here). 
2) It also compiles without complains when you actually put a semicolon behind 
the section statement, but then PODS marks the line as error (without error 
explanation). 

Strange enough. But at the last function I have to put a semicolon behind the 
section statement, else the compiler throws an error message:

"m68k-palmos-gcc -c Src/MessageForm.c -IRsc  -ISrc/  -ISrc/Key/   -palmos5r4 
-D__PALMOS__=0x05000000 -O0 -g    -o Debug/MessageForm.o
Src/MessageForm.c:221: parse error at end of input"

So I currently leave away the semicolon in all other functions but the last (so 
that PODS doesn't mark false errors everywhere), but the last function needs 
the semicolon and thus the last line is marked as error although there is none. 


Benjamin Stadin
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to