It's not the job of the compiler to catch such things. In your particular case 
the problem was that your code was calling functions (exist and cleanup) that 
were not defined anywhere. But when the compiler compiles a source file, it 
can't know that these functions will not be available - for instance, you might 
link with a library that contains them.

It is the job of the linker to catch such problems - which is precisely what 
has happened in your case. At best, the compiler could warn you if you're using 
a function without prototyping it first - but that probably depends on the 
warning level you have specified.

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

Reply via email to