This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ compiler error
- From: Laczó Tibor <laczo dot tibor at pro dot hu>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 12 May 2003 10:56:41 +0200
- Subject: g++ compiler error
- Reply-to: Laczó Tibor <laczo dot tibor at pro dot hu>
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