This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g++ compiler error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]