deprecated conversion from string constant to 'char *'

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Jul 7 14:23:00 GMT 2006


Tim Prince <timothyprince@sbcglobal.net> writes:

| Even in your example, gcc stops without making a .o file.  I did find
| that correcting __all__ the relevant prototypes to 'const char *' fixed
| my problem.  I had missed one tucked away in a long list.
| Another compiler which I use frequently, which claims a high degree of
| gcc compatibility, is unable to produce any warning.

Are you sure you're using FSF GCC?

-- Gaby



More information about the Gcc-help mailing list