nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: C++ Comments in C files
From: Alessandro Rubini
Date: Mon, 9 Oct 2000 17:55:55 +0200


> A) Does anyone know of a GCC command-line option to re-allow
> C++ comments within a C file even when the "-ansi" option is
> given?

Looks like it's not there. From info files:
> However, C++ style comments are not recognized if you specify `-ansi'
> or `-traditional', since they are incompatible with traditional
> constructs like `dividend//*comment*/divisor'.

Obviously, I may be wrong.

/alessandro

nanogui@linuxhacker.org