This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

WCHAR_MIN; WCHAR_MAX


Hate to be a lame duck, but while compiling libstdc++.2.90.6.1 on a Sun
sun4u sparc SUNW,Ultra-5_10 I for some reason end up bailing out with the
errors below.  I'm using gcc-2.95.1 which I just compiled without
incident.  a which shows that I'm using this new version.

Here is what I get with the -v -H flags as well.

GNU C++ version 2.95.1 19990816 (release) (sparc-sun-solaris2.6) compiled by GNU C version 2.95.1 19990816 (release).

c++ -DHAVE_CONFIG_H -I. -I../../libstdc++-2.90.6.1/src -I.. -nostdinc++ -I../../libstdc++-2.90.6.1 -I../../libstdc++-2.90.6.1/stl -I../../libstdc++-2.90.6.1/libio -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -W -Wwrite-strings -Werror -c  -fPIC -DPIC ../src/limitsMEMBERS.cc -o .libs/limitsMEMBERS.lo
In file included from ../src/limitsMEMBERS.cc:37:
../bits/std_limits.h: In function `static __wchar_t numeric_limits<__wchar_t>::min()':
../bits/std_limits.h:306: `WCHAR_MIN' undeclared (first use this function)
../bits/std_limits.h:306: (Each undeclared identifier is reported only once
../bits/std_limits.h:306: for each function it appears in.) cc1plus: warnings being treated as errors
../bits/std_limits.h:306: warning: control reaches end of non-void function `numeric_limits<__wchar_t>::min()'
../bits/std_limits.h: In function `static __wchar_t numeric_limits<__wchar_t>::max()':
../bits/std_limits.h:308: `WCHAR_MAX' undeclared (first use this function)
../bits/std_limits.h:308: warning: control reaches end of non-void function `numeric_limits<__wchar_t>::max()'
make: *** [../src/limitsMEMBERS.lo] Error 1


Any help is appreciated.

Thanks

Chris :)
prince@wcug.wwu.edu
===================
What is "Windows 95/98"?
32 bit extensions for a 16 bit patch to an 8 bit operating system
originally coded for a 4 bit microprocessor written by a 2 bit company
that can't stand 1 bit of competition



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