Re: gnumeric 1.0.4 build problems



On Sat, 2 Mar 2002, Jody Goldberg wrote:

On Sat, Mar 02, 2002 at 02:20:56AM -0600, Justin Rosander wrote:
What does this mean in english?

/usr/include/bits/string2.h:419: warning: pointer of type `void *' used in
arithmetic
This isa glibc problem.  It was fixed long ago.

It's more likely a gcc problem.  You see these warnings when using
optimization and the -Wpointer-arith flag with gcc up to 2.95.3, even
when glibc is current (as of now, version 2.2.5).  The warnings can be
quelled by changes to the glibc headers, but this has not been done in
the standard GNU libc (some Linux distros might have applied
non-standard patches).  It's a gcc problem in that gcc (on ix86) is
not letting pointer arithmetic on void * pointers past the warning
system, even though it should, since these manipulations are bracketed
by the "__extension__" flag in bits/string2.h.

Gcc 3.0.4 does not issue the warnings.

Allin Cottrell.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]