David Matz wrote:
it seems that the problem concerns a specific compiler bug in microsoft compilers <= 13.10.6030 (MSVC 7.1).
The MSVC8 and g++ (4.1.2) compilers are able to build the code without errors.
#include
// included for some reason #include #include // load_single_library void loadExtension () { boost::extensions::factory_map fm; // we don't need the following line to produce the compiler error // ... }
Any ideas how to get it to work with the good old Visual Studio 2003?
Hmmm... We don't even need to include optional.hpp! The following gets
me the very same compile error, on MSVC 7.1:
//////////////////////////////////////////////////
namespace boost {
template<class T> class foo ;
template<class T> void get ( foo<T>* );
}
#include