nanogui@linuxhacker.org
nanogui@linuxhacker.org
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: <Thompson@nlc.com>, Phone: (515)991-3853
nanogui@linuxhacker.org