nanogui: C++ Comments in C files


Previous by date: 9 Oct 2000 16:03:46 -0000 Re: C++ Comments in C files, Alessandro Rubini
Next by date: 9 Oct 2000 16:03:46 -0000 [patch] VxWorks/generic enhancement to GdOpenScreen(), Brent Thompson
Previous in thread: 9 Oct 2000 16:03:46 -0000 Re: C++ Comments in C files, Alessandro Rubini
Next in thread: 9 Oct 2000 16:03:46 -0000 Re: C++ Comments in C files, Greg Haerr

Subject: Re: C++ Comments in C files
From: Brent Thompson ####@####.####
Date: 9 Oct 2000 16:03:46 -0000
Message-Id: <39E1EB85.6080400@nlc.com>

Alessandro Rubini wrote:

>> 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'.

That's as far as I got also. :-(  Thanks for the confirmation!
I didn't know if there was a "-W" like tweak to turn it back on
which I didn't see.  Looks like I'll just have to convert the
comments and give 'em back to Greg. :-)

BAT
-- 
Brent A. Thompson, Next Level Communications <www.nlc.com>
1776 22nd Street #100, West Des Moines, IA 50266-1444
EMail: ####@####.#### Phone: (515)991-3853


Previous by date: 9 Oct 2000 16:03:46 -0000 Re: C++ Comments in C files, Alessandro Rubini
Next by date: 9 Oct 2000 16:03:46 -0000 [patch] VxWorks/generic enhancement to GdOpenScreen(), Brent Thompson
Previous in thread: 9 Oct 2000 16:03:46 -0000 Re: C++ Comments in C files, Alessandro Rubini
Next in thread: 9 Oct 2000 16:03:46 -0000 Re: C++ Comments in C files, Greg Haerr


Powered by ezmlm-browse 0.20.