Subject: Re: [Boost-bugs] [Boost C++ Libraries] #306: Visual C++ "Language Extensions" support
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-11-05 18:46:14
#306: Visual C++ "Language Extensions" support
-------------------------------+--------------------------------------------
Reporter: nobody | Owner: jbandela
Type: Support Requests | Status: closed
Milestone: | Component: None
Version: None | Severity: Showstopper
Resolution: duplicate | Keywords:
-------------------------------+--------------------------------------------
Changes (by marshall):
* status: assigned => closed
* resolution: None => duplicate
* severity: => Showstopper
Old description:
> {{{
> The following compiles under Visual C++ .Net with
> "Language Extensions" enabled, but it fails otherwise:
>
> #include <boost/token_iterator.hpp>
> int main()
> {
> return 0;
> }
>
> The received errors are:
>
> d:\Programming\boost\boost\detail\iterator.hpp(174) :
> error C2061: syntax error : identifier 'value_type'
>
> d:\Programming\boost\boost\mpl\aux_\preprocessed\msvc70\or.hpp(27)
> : error C2970: 'boost::mpl::aux::or_impl' : template
> argument 'C_' : invalid use of non-integral-constant
> static variable 'value' as non-type argument
> (and 4 more similar to the last one)
>
> How can I fix this? Any help will be appreciated.
>
> Hector C.
> }}}
New description:
{{{
The following compiles under Visual C++ .Net with
"Language Extensions" enabled, but it fails otherwise:
#include <boost/token_iterator.hpp>
int main()
{
return 0;
}
The received errors are:
d:\Programming\boost\boost\detail\iterator.hpp(174) :
error C2061: syntax error : identifier 'value_type'
d:\Programming\boost\boost\mpl\aux_\preprocessed\msvc70\or.hpp(27)
: error C2970: 'boost::mpl::aux::or_impl' : template
argument 'C_' : invalid use of non-integral-constant
static variable 'value' as non-type argument
(and 4 more similar to the last one)
How can I fix this? Any help will be appreciated.
Hector C.
}}}
Comment:
This is a duplicate of bug #259
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/306#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC