implicit casts in g++
Kalle Anderson
kalle.anderson@aeroastro.com
Tue Dec 9 16:21:00 GMT 2003
I have to port some legacy C code to another platform for testing
purposes. I can't modify the code (for configuration management reasons)
and for a reason I won't get into, I have to compile it as C++ code.
However, it is doing lots of implicit pointer casts that the C compiler
allowed. (void* to char*, etc...). Is there anyway compiler switch to
make g++ ignore those errors? THanks,
More information about the Gcc-help
mailing list