This is a pain that I've reported before , but that still
occurs on 1.1.4pre2 and on 1.1.4cvs
EGCS-1.1.2 does not support the CXXFLAGS options
-fno-exceptions and -fno-rtti. It therefore creates an
enourmous number of warning messages of the form
/usr/include/X11/Xutil.h:860: warning: return-type of `XUnionRectWithRegion' defaults
to `int'
The following compiles WITHOUT these warnings:
g++ -DHAVE_CONFIG_H -I. -I../images -g -O -ansi -Wall -W -Wno-return-type -c file.C
Can I therefore BEG that:
1. the configure script tests for
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
2. that -Wno-return-type is included in the list. Perhaps:
case $gxx_version in
2.95.*) CXXFLAGS="$CXXFLAGS -Wall -W -Wconversion";;
*) CXXFLAGS="$CXXFLAGS -ansi -Wall -W -Wno-return-type";;
3. That the -pedantic flag is SCRUBBED!
Many thanks,
Angus