nanogui: C++ Comments in C files
Subject:
C++ Comments in C files
From:
Brent Thompson ####@####.####
Date:
9 Oct 2000 15:41:55 -0000
Message-Id: <39E1E664.5080003@nlc.com>
Whilst porting Microwindows to VxWorks, I've run into problems
with C++ style comments ("// comments...") in C source files.
The WindRiver Tornado environment (which uses GCC to target
VxWorks) automatically prepends a "-ansi" option on the command
line which then causes GCC to barf when it hits a non pure-ANSI
problem (such as the C++ comment in a C file).
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?
2) Can we try to minimize the use of C++ comments within C
files in Microwindows? :-) Greg, I can certainly send you some
modified files where I've already converted over the comments
(something like 5-10 files) if you'd like (just email me).
Thanks!
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