This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: warnings generated by bits/string2.h
- To: Ulrich Drepper <drepper at cygnus dot com>
- Subject: Re: warnings generated by bits/string2.h
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Mon, 24 Jan 2000 13:26:24 +0100
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <200001241018.LAA27626@jaures.ilog.fr> <m3snznd8hp.fsf@localhost.localnet>
- Reply-To: Philipp Thomas <pthomas at suse dot de>
* Ulrich Drepper (drepper@cygnus.com) [20000124 12:21]:
> Use a more recent compiler or turn off -Wpointer-arith. It's a gcc bug.
Even current CVS gcc issues these warnings. And please explain why you think
this is a gcc bug. IMHO gcc correctly warns about doing arithmetic on void
pointers. You could of course argue that because it's done inside
__extension__ and therefor is gcc specific, the warning's unneeded.
Philipp
--
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Schanzaeker Str.10, D-90443 Nuremberg
Life is an ocean and love is a boat,
in troubled waters, it keeps us afloat
Christy Moore