I cannot run gcc compile with "-pedantic" as the Palm SDK are non-compliant
with strict ANSI C standards. The big offender is non-int enums declared
like this:
typdef enum { UP, DOWN, LEFT, RIGHT } DirectionType;
instead of like this:
typdef enum { UP = (int)0, DOWN, LEFT, RIGHT } Direction Type;
so as to explicitly confirm to ANSI standard of enums as "int".
I know this would violate the recent Palm "Int16" types if they did but
isn't there some way the headers could be made pedantic for ANSI?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/