comments dont compile

LLeweLLyn Reese
Sat Mar 8 22:44:00 GMT 2003

"David Paull" <> writes:

> hello, i am porting code from windows to linux gcc
> apparently, gcc 3.2 doesnt know about comments starting with //
> has anyone encountered this problem?
> omg, every comment in the code uses //, and not /* */
> what can i do?!?!?!?

You can read:

which tells you which command line arguments disable // coments
    feature (it's on by default, but see -ansi and -pedantic) and
    which commands enable it (see -std=c99)

More information about the Gcc-help mailing list