Opened 18 years ago
Last modified 15 years ago
#306 closed Support Requests (duplicate)
Visual C++ "Language Extensions" support — at Initial Version
| Reported by: | nobody | Owned by: | jbandela |
|---|---|---|---|
| Milestone: | Component: | None | |
| Version: | None | Severity: | Showstopper |
| Keywords: | Cc: |
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.
Note:
See TracTickets
for help on using tickets.
