[xml] Thousands of elfgcchack.h warnings (libxml2)
- From: Mike Richards <mrmikerich gmail com>
- To: xml gnome org
- Subject: [xml] Thousands of elfgcchack.h warnings (libxml2)
- Date: Sun, 28 Nov 2004 15:43:23 +0000
Ever since 2.6.11 (maybe it was .12 -- but I know .10 did not have
this problem) I've been getting thousands of elfgcchack.h warnings
when compiling libxml2. On a recent compile of 2.6.16 today, there
were a total of 59122 (!) of these warnings in a build logfile that I
saved.
Here's a sample:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pe
dantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigra
phs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-
arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmiss
ing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT SAX.lo -MD -MP -M
F .deps/SAX.Tpo -c SAX.c -fPIC -DPIC -o .libs/SAX.o
In file included from libxml.h:57,
from SAX.c:12:
elfgcchack.h:59: warning: `visibility' attribute directive ignored
elfgcchack.h:63: warning: `visibility' attribute directive ignored
elfgcchack.h:70: warning: `visibility' attribute directive ignored
elfgcchack.h:76: warning: `visibility' attribute directive ignored
elfgcchack.h:82: warning: `visibility' attribute directive ignored
elfgcchack.h:88: warning: `visibility' attribute directive ignored
elfgcchack.h:94: warning: `visibility' attribute directive ignored
Now, aside from the insane amount of warnings, the build appears to go
fine and there are no errors. But what on earth is going on here? Is
this something to be concerned about? If the warnings are harmless, is
there any way to suppress them?
FWIW, the system is linux, kernel 2.4.26, gcc 3.2.3, and glibc 2.2.5.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]