This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
char* problems
- From: "Douglas Gemignani" <douglas at gemignani dot org>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 15 Sep 2008 11:11:53 -0300
- Subject: char* problems
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