Re: [Nautilus-list] More eel build errors



on 9/19/01 2:36 PM, Evandro Fernandes Giovanini at efgbr terra com br wrote:

> cc1: warnings being treated as errors
> In file included from /usr/include/string.h:360,
>                from eel-string.h:29,
>                from eel-background.c:42:
> /usr/include/bits/string2.h: In function `__strcpy_small':
> /usr/include/bits/string2.h:418: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:426: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:431: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:436: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:438: warning: pointer of type `void *' used
> in arithmetic
> /usr/include/bits/string2.h:443: warning: pointer of type `void *' used
> in arithmetic

These are not new errors. This comes up often enough that it should probably
be a FAQ.

These errors show up if you have an old version of glibc headers
(glibc-devel if you are using an RPM-based system). You can either update to
a new version of glibc that doesn't have this problem, or turn off -Werror
by configuring with --disable-more-warnings.

Note well, that's "glibc", not "glib".

    -- Darin





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