Boost logo

Boost Users :

From: klapshin (klapshin_at_[hidden])
Date: 2003-03-20 14:47:13


I am trying new 1.30.0 release and got couple of problems on MSVC6
SP5.

First of all, compiling

#include <boost/date_time/gregorian/gregorian.hpp>
int main()
{
        boost::gregorian::from_string( "" );
        return 0;
}

yields warning:

I:\SW\EXTERNAL\BOOST_1_30_0\boost/lexical_cast.hpp(147) : warning
C4800: 'void *' : forcing value to bool 'true' or 'false'
(performance warning)
        I:\SW\EXTERNAL\BOOST_1_30_0\boost/lexical_cast.hpp(146) :
while compiling class-template member function 'bool __thiscall
boost::detail::lexical_stream<int,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char>
> >::operator <<(const class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > &)'

Much bigger problem is that compiling simple

#include <boost/random/uniform_01.hpp>
int main(){return 0;}

fails with:

I:\SW\EXTERNAL\BOOST_1_30_0\boost/random/uniform_01.hpp(44) : error
C2275: 'std::numeric_limits<`template-parameter258'>::is_integer' :
illegal use of this type as an expression
        I:\SW\EXTERNAL\BOOST_1_30_0\boost/random/uniform_01.hpp
(95) : see reference to class template
instantiation 'boost::uniform_01<UniformRandomNumberGenerator,RealTyp
e>' being compiled
I:\SW\EXTERNAL\BOOST_1_30_0\boost/random/uniform_01.hpp(44) : error
C2027: use of undefined type 'STATIC_ASSERTION_FAILURE'
        I:\SW\EXTERNAL\BOOST_1_30_0\boost/static_assert.hpp(29) :
see declaration of 'STATIC_ASSERTION_FAILURE'
        I:\SW\EXTERNAL\BOOST_1_30_0\boost/random/uniform_01.hpp
(95) : see reference to class template
instantiation 'boost::uniform_01<UniformRandomNumberGenerator,RealTyp
e>' being compiled


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net