g++ compiler error

Laczó Tibor laczo.tibor@pro.hu
Mon May 12 08:51:00 GMT 2003


Hi all!

I have gcc 2.96 installed on my computer. I would like to compile a
source included c++ and c code mixed. (the c code was generated by the
sybase precompiler ) The compiler don't compile, but throw errors :
cannot convert 'const char*' to 'char*'. 
The error is in code which was generated by the precompiler (C code).
If i compile the source with the compiler version 3.2-7,and i use -ansi
-pedantic flags, then i get only a warning, and i can compile.

My question is: is there any flag, that i can use with g++ version 2.96
to ignore the errors.

Thanks 

Tibor Laczo



More information about the Gcc mailing list