Boost logo

Boost :

From: Peder Holt (peder.holt_at_[hidden])
Date: 2005-07-18 02:48:07


On 7/17/05, Andy Little <andy_at_[hidden]> wrote:
>
> "Peder Holt" <peder.holt_at_[hidden]> wrote
>
> Hi Peder . The idea is cool, however ...
>
> mantissa.hpp requires
> #include <boost/mpl/bool.hpp>
> and requires return after final #endif
>
Oops. Fixed this + several other missing includes. Include files
should now be self-contained.
>
> However in VC7.1 using this test:
>
> #include <iostream>
> #include <boost/metamath/double.hpp>
>
> typedef BOOST_DOUBLE(3.33333333333333) d1;
>
> int main(){}
>
> I get these errors:
>
> Compiling...
> test.cpp
> e:\Projects\Test\test.cpp(4) : error C2513: 'int' : no variable declared before
> '='
> e:\Projects\Test\test.cpp(4) : error C2146: syntax error : missing ';' before
> identifier 'd1'
> e:\Projects\Test\test.cpp(4) : fatal error C1004: unexpected end of file found
>

There was a problem with BOOST_DOUBLE for VC7.1 which has now been
corrected, but the problem you see here, is a missing include.
BOOST_DOUBLE is defined in boost/metamath/double_macros.hpp

Regards,
Peder

>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


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