This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: deprecated conversion from string constant to 'char *'
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