warnings generated by bits/string2.h

Philipp Thomas pthomas@suse.de
Mon Jan 24 04:26:00 GMT 2000


* 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


More information about the Libc-alpha mailing list