
22 Mar
2012
22 Mar
'12
10:37 p.m.
AMDG On 03/22/2012 01:11 PM, petros wrote:
#include
#include #include #define barfoo (2, (1, 2) ) BOOST_PP_ARRAY_PUSH_BACK( barfoo, 3 )
gived the following compilation error ( MSVC2010, win7 ) :
1>Build started 3/22/2012 4:06:39 PM. 1>ClCompile: 1> opexp.cpp 1>opexp.cpp(6): error C2059: syntax error : 'constant'
Any ideas why this happens ?
The macro is fine. (3, (1, 2, 3)) is not valid C++. In Christ, Steven Watanabe