Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-07-08 15:06:30


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 GCC
>> 3.1?
>
>It's working OK with gcc2.95 under cygwin provided the
-ftemplate-depth-30
>option is used, what errors are you seeing with 3.1?

It is failing a static assert. See below.

--Beman

cc1plus.exe: warning: changing search order for system directory
"C:/boost/site" cc1plus.exe: warning: as it has already been specified as a
non-system directory C:/boost/site/libs/utility/numeric_traits_test.cpp: In
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
"..\status\bin\numeric_traits_test.test\gcc\debug\runtime-link-dynamic\numeric_traits_test.obj"
"C:\boost\site\libs/utility\numeric_traits_test.cpp"


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk