With most C compilers, you need a special compiler option like -Ss to allow C++
style comments; without this option, only standard C style comments /* ... */
are allowed. So I think that this option is not set in your case.
Don't know how the option is spelled with GCC.
Kind regards
Bernd
Am 17.11.2011 15:00, schrieb F.:
> Hello,
>
> I have a strange behaviour too.
> Running GCC with "CMS" option it complains about a "//" comment in ctype.h
> (i.e. GCC ERR C F (CMS )
> The error is:
>
> In file included from<stdin>:29:
> ctype.h:16: parse error before '/' token
>
> If I remove CMS or if I change the // in /* (the standard C comment) no error is generated.
>
> Regards,
> F.
> --- In hercules-os380@yahoogroups.com, M.N. wrote:
>
|