My code compiles on visual studio 8, but on g++ 3.3.2
(linux) and with g++ 3.4.4 (cygwin) it chokes with
the following error:
In function
`void convertToScctsOpt()':
optionmanager.cpp:119: error: expected init-declarator
before "ScctsType"
optionmanager.cpp:119: error: expected `, ' or `;'
before "ScctsType"
optionmanager.cpp:120: error: `ScctsType' undeclared
(first use this function)
Is some special command line argument needed?
thanks for any help.
#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
#define BOOST_MPL_LIMIT_MAP_SIZE 50
#include
TypeToTypeMap;
template<typename SoapType>
inline void convertToScctsOpt()
{
typedef bm::at