Re: Re: deprecated conversion from string constant to 'char *'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----Original Message-----
From: Gabriel Dos Reis <gdr@xxxxxxxxxxxxxxxxxxxxxxxx>
To: tprince@xxxxxxxxxxxxx
Date: 07 Jul 2006 17:52:31 +0200
Subject: Re: deprecated conversion from string constant to 'char *'

Tim Prince <timothyprince@xxxxxxxxxxxxx> 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


gcc built from last Saturday's post on gcc.gnu.org/pub/gcc/snapshots

I've seen remarks about that not being a reliable source for FSF gcc.  If those aren't good to use, why not offer something better?

A colleague tried the case with another colleague's build of gcc-4.2 from a few weeks ago.  His diagnostics match what I get with g++ -m32.
Tim Prince


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux