char* problems
Douglas Gemignani
douglas@gemignani.org
Tue Sep 16 08:33:00 GMT 2008
Dear friends,
I have serious issues when compiling using gcc 4.1.2, everytime i try
to pass a unsigned char* to a function that receives char*, i got
errors, it also happens when passing const char* to char* or unsigned
char* functions.
This is really annoying and the code is a working one in other system,
i would like to foce the compilation, i already tryed to use the
following flags:
-fno-const-strings
-Wwrite-strings
-funsigned-char
but none of them worked.
Is there something that i can tell to gcc, other than making casts all
over the code?
Thanks
[]s
Douglas
More information about the Gcc
mailing list