I noticed this:
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include data.c
data.c: In function `dead_wrong_type_argument':
data.c:117: warning: `noreturn' function does return
data.c: In function `args_out_of_range':
data.c:147: warning: `noreturn' function does return
data.c: In function `args_out_of_range_3':
data.c:153: warning: `noreturn' function does return
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include postgresql.c
In file included from postgresql.h:16,
from postgresql.c:102:
/usr/include/libpq-fe.h:115: warning: declaration of `message' shadows global
declaration
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include toolbar-x.c
In file included from /usr/X11R6/include/Xm/PrimitiveP.h:50,
from xmprimitivep.h:31,
from EmacsFrameP.h:30,
from toolbar-x.c:35:
/usr/X11R6/include/Xm/XmP.h:1241: warning: declaration of `message' shadows global
declaration
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include process-unix.c
process-unix.c: In function `unix_canonicalize_host_name':
process-unix.c:1606: warning: declaration of `gai_error' shadows global declaration
process-unix.c: In function `unix_open_network_stream':
process-unix.c:1698: warning: declaration of `gai_error' shadows global declaration
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include extents.c
extents.c: In function `print_extent_1':
extents.c:2964: warning: int format, Lisp_Object arg (arg 3)
extents.c:2964: warning: int format, Lisp_Object arg (arg 4)
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include fileio.c
fileio.c: In function `report_file_error':
fileio.c:172: warning: `noreturn' function does return
fileio.c: In function `signal_file_error':
fileio.c:195: warning: `noreturn' function does return
fileio.c: In function `signal_double_file_error':
fileio.c:217: warning: `noreturn' function does return
fileio.c: In function `signal_double_file_error_2':
fileio.c:242: warning: `noreturn' function does return
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include glyphs.c
glyphs.c: In function `signal_image_error':
glyphs.c:2146: warning: `noreturn' function does return
glyphs.c: In function `signal_image_error_2':
glyphs.c:2153: warning: `noreturn' function does return
In file included from glyphs-eimage.c:67:
/usr/include/png.h:1814: warning: declaration of `error' shadows global declaration
/usr/include/png.h:1818: warning: declaration of `error' shadows global declaration
/usr/include/png.h:1822: warning: declaration of `message' shadows global declaration
/usr/include/png.h:1826: warning: declaration of `message' shadows global declaration
gcc -g -O3 -mcpu=athlon -march=athlon -c -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Demacs -I. -DHAVE_CONFIG_H
-I/usr/X11R6/include select-x.c
In file included from /usr/X11R6/include/Xm/DragC.h:48,
from /usr/X11R6/include/Xm/Transfer.h:44,
from /usr/X11R6/include/Xm/Xm.h:62,
from /usr/X11R6/include/Xm/CutPaste.h:47,
from select-x.c:45:
/usr/X11R6/include/Xm/Display.h:81: warning: declaration of `time' shadows global
declaration
There are numerous warnings about signed/unsigned, but these are
typically harmless.