Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

Hercules - GCC-Compilefehler bei VM/370 CMS

Subject:

Re: [hercules-os380] parsing token error Re: GCC compiler bug in CMS

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

Date:

2011.11.17 18:40:00


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:
>

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie