This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Compilation warnings on cygwin.. up for a change?
On Wed, Sep 15, 2004 at 08:37:14AM +0200, Christian Joensson wrote:
> On Tue, Sep 14, 2004 at 03:38:00PM -0400, DJ Delorie wrote:
> >
> > > Just a few perhaps intereseting observations from compiling binutils
> > > cvs trunk... anyone is welcome to use or discard :)
> >
> > Libiberty isn't guaranteed to be warning-free. Patches welcome, but
> > it isn't an ongoing project to fix these at this time.
> >
> > Also note that libiberty patches go to gcc-patches@gcc.gnu.org.
>
> Thanks, I will post the libiebrty stuff to gcc then, but, there were a
> few non-libiberty warnings as well:
>
> /usr/local/src/trunk/src/bfd/hash.c:515: warning: comparison between signed and unsigned
>
>
> /usr/local/src/trunk/src/bfd/elf.c:6995: warning: int format, DWORD arg (arg 3)
> /usr/local/src/trunk/src/bfd/elf.c:7022: warning: unsigned int format, pointer arg (arg 3)
>
>
> /usr/local/src/trunk/src/binutils/../include/getopt.h:116: warning: function declaration isn't a prototype
>
> ei386pe.c:1089: warning: use of conditional expressions as lvalues is deprecated
> ei386pe.c:1089: warning: use of cast expressions as lvalues is deprecated
> ei386pe.c:1089: warning: use of cast expressions as lvalues is deprecated
Sorry, missed one.
/usr/local/src/trunk/src/intl/l10nflist.c:337: warning: assignment makes pointer from integer without a cast
Cheers,
/ChJ