This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: warnings generated by bits/string2.h


* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]