This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Some remaining bugs in egcs-2.91.50 19980714
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: Some remaining bugs in egcs-2.91.50 19980714
- From: Laurent Bonnaud <bonnaud at irisa dot fr>
- Date: 20 Jul 1998 18:17:25 +0200
- Cc: egcs at cygnus dot com
- References: <199807172347.QAA28921@atrus.synopsys.com>
>>>>> "Joe" == Joe Buck <jbuck@Synopsys.COM> writes:
Joe>
Joe> Is this a real problem? The existing limits.h or float.h may be mangled
Joe> by fixincludes, but gcc installs its own versions of these files, right?
This a real problem because i do get these annoying warnings. The
strange thing is that the first inclusion of limits.h correctly uses
the version of gcc, but the second inclusion (from syslimits.h) should
use the version of Solaris in /usr/include instead (see the updated
report below).
--
Laurent.
This is on sparc-sun-solaris2.6, but the same thing happens on
sparc-sun-solaris2.5.1
$ gcc -c -v limit-sol.c
Reading specs from /udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/specs
gcc version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental)
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) limit-sol.c /tmp/ccpGIhC5.i
GNU CPP version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/udd/bonnaud/poubelle2/sparc-egcs/sparc-sun-solaris2.6/include
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include
/usr/include
End of search list.
In file included from /udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/limits.h:117,
from /udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/syslimits.h:7,
from /udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/limits.h:11,
from limit-sol.c:2:
/usr/include/limits.h:163: warning: `DBL_MAX' redefined
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/float.h:63: warning: this is the location of the previous definition
/usr/include/limits.h:165: warning: `DBL_MIN' redefined
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/float.h:54: warning: this is the location of the previous definition
/usr/include/limits.h:168: warning: `FLT_MAX' redefined
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/float.h:35: warning: this is the location of the previous definition
/usr/include/limits.h:169: warning: `FLT_MIN' redefined
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/include/float.h:26: warning: this is the location of the previous definition
/udd/bonnaud/poubelle2/sparc-egcs/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.50/cc1 /tmp/ccpGIhC5.i -quiet -dumpbase limit-sol.c -version -o /tmp/ccQ2gp4d.s
GNU C version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental) (sparc-sun-solaris2.6) compiled by GNU C version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental).
/usr/ccs/bin/as -V -Qy -s -o limit-sol.o /tmp/ccQ2gp4d.s
/usr/ccs/bin/as: WorkShop Compilers 4.2 dev 13 May 1996