This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]