Opened 18 years ago

Closed 15 years ago

#306 closed Support Requests (duplicate)

Visual C++ "Language Extensions" support

Reported by: nobody Owned by: jbandela
Milestone: Component: None
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by Marshall Clow)

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.

Change History (1)

comment:1 by Marshall Clow, 15 years ago

Description: modified (diff)
Resolution: Noneduplicate
Severity: Showstopper
Status: assignedclosed

This is a duplicate of bug #259

Note: See TracTickets for help on using tickets.