This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: /usr/include/bits/string2.h vs. `gcc -Wpointer-arith'


>>>>> Martin Buchholz writes:

>>>>> "Ulrich" == Ulrich Drepper <drepper@redhat.com> writes:
Ulrich> Martin Buchholz <martin@xemacs.org> writes:
>>> If I compile XEmacs on a Mandrake 7.0 Linux system, based on glibc
>>> 2.1, I get these warnings:

Ulrich> Remove the useless -Wpointer-arith warning or fix gcc.

mb> The `-Wpointer-arith' warning is useful for developers who write code
mb> for use with any C compiler, but do their own development with gcc.

mb> Please let's not have a situation where the gcc and glibc developers
mb> consider the bug the other project's, and the user is left without a
mb> useful error checking tool.

mb> I believe both glibc and gcc should change.

AFAIK it's already fixed for gcc 2.96.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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