This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: /usr/include/bits/string2.h vs. `gcc -Wpointer-arith'
- To: martin at xemacs dot org
- Subject: Re: /usr/include/bits/string2.h vs. `gcc -Wpointer-arith'
- From: Andreas Jaeger <aj at suse dot de>
- Date: 13 Mar 2000 12:07:58 +0100
- Cc: drepper at cygnus dot com (Ulrich Drepper), bug-gcc at gnu dot org, bug-glibc at gnu dot org, SL Baur <steve at beopen dot com>
- References: <14537.14762.874407.176611@gargle.gargle.HOWL> <m37lf7q5sp.fsf@localhost.localnet> <14540.5636.484476.346862@gargle.gargle.HOWL>
>>>>> 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