|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-06-24 03:48:48
John Maddock wrote:
>>Why does configure think that the specializations are present?
> I don't know, I can reproduce this, but:
>
> * The Boost.Config test program when run on it's own fails as expected
> (libs/config/test/no_ll_limits_pass.cpp built with -std strict_ansi).
> * I've eyeballed the configure.in again, and everything looks correct.
Hmm, seems the other way round. Is this how it should be?
~/net/src/boost/boost-HEAD/libs/config> cxx -version V6.5-042 -std
strict_ansi -model ansi -o conftest -I./../.. -I./../../libs/config/test -g
-DBOOST_NO_CONFIG test/no_ll_limits_pass.cpp -lrt -lm
schoepf_at_area51:~/net/src/boost/boost-HEAD/libs/config> ./conftest ; echo $?
0
~/net/src/boost/boost-HEAD/libs/config> cxx -version V6.5-042 -std
strict_ansi -model ansi -o conftest -I./../.. -I./../../libs/config/test -g
-DBOOST_NO_CONFIG test/no_ll_limits_fail.cpp -lrt -lm
cxx: Warning: test/boost_no_ll_limits.ipp, line 22: the type "long long" is
nonstandard
typedef long long llt;
----------------^
cxx: Warning: test/boost_no_ll_limits.ipp, line 26: the type "long long" is
nonstandard
typedef unsigned long long ullt;
-------------------------^
cxx: Warning: test/boost_no_ll_limits.ipp, line 28: statement is unreachable
if(0 == std::numeric_limits<ullt>::is_specialized) return -1;
---^
cxx: Warning: test/boost_no_ll_limits.ipp, line 29: statement is unreachable
return 0;
---^
schoepf_at_area51:~/net/src/boost/boost-HEAD/libs/config> ./conftest ; echo $?
255
Markus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk