Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-09-16 15:20:36


Victor A. Wagner, Jr. wrote:
> Apologies, I hadn't realized that my old copy of Eudora knew
> anything about HTML. At any rate, the problem STILL exists.
> Here is the error message "sanitized" by pasting into notepad
> before pasting into the EMail message:
>
> C:\Boost Releases\boost\boost\mpl\if.hpp(146) : error C2970:
> 'boost::mpl::aux::if_impl' : template argument 'C' : invalid use of
> non-integral-constant static variable 'value' as non-type argument
> C:\Boost Releases\boost\boost\mpl\if.hpp(113) : see
> declaration of
> 'boost::mpl::aux::if_impl'
> C:\Boost Releases\boost\boost\mpl\if.hpp(150) : see
> reference to
> class template instantiation 'boost::mpl::if_<C,T1,T2>' being compiled
> C:\Program Files\Microsoft Visual Studio
> .NET\Vc7\include\xlocmon(227) :
> fatal error C1903: unable to recover from previous error(s); stopping
> compilation
>
> This must be some internal boost reference to mpl. I certainly don't
> intentionally include it in my code

What exactly are you trying to compile? 'mpl::if' passes its test case on
VC7, so I need to know more of the context to be able to help.

Aleksey


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