In article <[EMAIL PROTECTED]>, Ben Combee wrote:
> At 11:00 AM 4/1/2004, you wrote:
>>[ sorry for the top post, Lyris list manager keeps refusing my bottom post ]
>>
>>Ben,
>>
>>I just tried the #pragma c99 on and also the Enable C99 extensions, but
>>CW still complains about
>>local variables not declared at the beginning of blocks.
>>
>>Error   : expression syntax error
>>cmdproblem.c line 175    int status;
>>
>>But "Force C++ compilation" works.
>>
>>I guess the anywhere-local-vars currently is not supported by CW C compiler.
> 
> Hmmmm.... C99 support has been in development for a while, but the 3.0 
> C/C++ front-end used in the 68K tools doesn't support this particular 
> thing.  It was added for the 3.2 FE that's used in the PNO compiler, so it 
> does work there.
> 
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
>     Read "Combee on Palm OS" at http://palmos.combee.net/

Small correction. Prc-tools-2.3 68k compiler is still based on gcc-2.95.3,
not 3.x.

Ton van Overbeek

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

Reply via email to