[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [branch-2-0] fix warnings on cygwin
From: |
Christoph Egger |
Subject: |
Re: [branch-2-0] fix warnings on cygwin |
Date: |
Sat, 16 Jul 2005 17:41:11 +0200 (MEST) |
> You expect libtool to fix your code? :-)
Sorry, I don't understand.
> I have never heard of evtimestamp.c before.
This is _my_ small program I compile with libtool.
libtool itself uses a small program you find in config/ltmain.m4sh,
which produces the warnings. The patch fixes them.
>
> Bob
>
> On Sat, 16 Jul 2005, Christoph Egger wrote:
>
> >
> > Hi!
> >
> > I got some warnings when I build a program on cygwin with latest
> > gcc and -Wcast-qual flag:
> >
> >
> > libtool: link: creating evtimestamp.exe
> > ./.libs/lt-evtimestamp.c: In function `main':
> > ./.libs/lt-evtimestamp.c:95: warning: assignment discards qualifiers
> from
> > pointer target type
> > ./.libs/lt-evtimestamp.c: In function `basename':
> > ./.libs/lt-evtimestamp.c:148: warning: cast discards qualifiers from
> pointer
> > target type
--
Greetings,
Christoph
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl