nanogui: C++ Comments in C files


Previous by date: 9 Oct 2000 15:53:50 -0000 C++ Comments in C files, Brent Thompson
Next by date: 9 Oct 2000 15:53:50 -0000 Re: C++ Comments in C files, Brent Thompson
Previous in thread: 9 Oct 2000 15:53:50 -0000 C++ Comments in C files, Brent Thompson
Next in thread: 9 Oct 2000 15:53:50 -0000 Re: C++ Comments in C files, Brent Thompson

Subject: Re: C++ Comments in C files
From: Alessandro Rubini ####@####.####
Date: 9 Oct 2000 15:53:50 -0000
Message-Id: <20001009175555.A8867@morgana.systemy.it>

> 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

Previous by date: 9 Oct 2000 15:53:50 -0000 C++ Comments in C files, Brent Thompson
Next by date: 9 Oct 2000 15:53:50 -0000 Re: C++ Comments in C files, Brent Thompson
Previous in thread: 9 Oct 2000 15:53:50 -0000 C++ Comments in C files, Brent Thompson
Next in thread: 9 Oct 2000 15:53:50 -0000 Re: C++ Comments in C files, Brent Thompson


Powered by ezmlm-browse 0.20.