This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

2.91.66 limits.h Solaris 2.6 symbol clash DBL_MIN etc.


I was trying to build the plotutils-2.2 package lately with the new egcs
1.1.2 on Solaris 2.6

That package makes plenty of use of floating arithmetic.

/usr/include/limits.h:197: warning: `DBL_MAX' redefined
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.66/include/float.h:63:
warning: this is the location of the previous definition
/usr/include/limits.h:199: warning: `DBL_MIN' redefined
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.66/include/float.h:54:
warning: this is the location of the previous definition
/usr/include/limits.h:202: warning: `FLT_MAX' redefined
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.66/include/float.h:35:
warning: this is the location of the previous definition
/usr/include/limits.h:203: warning: `FLT_MIN' redefined
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.66/include/float.h:26:
warning: this is the location of the previous definition

These kinds of warnings were also evidently reported by Rick Flower for
1.1b,

	http://www.cygnus.com/ml/egcs-bugs/1998-Oct/0130.html



Also, when compiling the same package with --enable-libplotter, I got an
error about an Ostream * and strcpy, but I suspect that may be related
to an already known lack of functionality with ostreams ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]