From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-08 16:56:10
Well, it thinks wchar_t is signed, but that it can't represent -1.
It looks like the built-in <limits> header is broken -- if I do:
bjam -sTOOLS=gcc -sBUILD="<define>BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS"
everything works. However, note that this might be the effect of mistakenly
installing gcc 3.1 over gcc 3.0.x. You're not allowed to do that (but of
course they bury that fact in a FAQ somewhere), and I happen to know my
installation is broken. I haven't had the time to fix it, and most things
tend to work. You might have the same thing going on. The only easy cure is
to rip out your existing GCC installations and rebuild them from scratch
----- Original Message -----
From: "Beman Dawes" <bdawes_at_[hidden]>
To: <boost_at_[hidden]>; <boost_at_[hidden]>
Sent: Monday, July 08, 2002 4:06 PM
Subject: Re: [boost] re: numeric_traits_test
> At 07:24 AM 7/7/2002, John Maddock wrote:
> >> An any event, if the configuration isn't at fault, why is
> >> numeric_traits_test failing? Is there a bug? In Boost code, or in
> >> 3.1?
> >It's working OK with gcc2.95 under cygwin provided the
> >option is used, what errors are you seeing with 3.1?
> It is failing a static assert. See below.
> cc1plus.exe: warning: changing search order for system directory
> "C:/boost/site" cc1plus.exe: warning: as it has already been specified as
> non-system directory C:/boost/site/libs/utility/numeric_traits_test.cpp:
> function `void test_aux(signed_tag, Number*) [with Number = wchar_t]':
> C:/boost/site/libs/utility/numeric_traits_test.cpp:361: instantiated from
> `void test(Number*) [with Number = wchar_t]'
> C:/boost/site/libs/utility/numeric_traits_test.cpp:370: instantiated from
> here C:/boost/site/libs/utility/numeric_traits_test.cpp:314: `sizeof'
> applied to incomplete type `boost::STATIC_ASSERTION_FAILURE' g++ -c -Wall
> -ftemplate-depth-100 -g -O0 -fno-inline -I"..\status" -I"C:\boost\site"
> -I"." -isystem "C:\boost\site" -o
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk