
18 Apr
2008
18 Apr
'08
3:01 p.m.
Hi, 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 <boost/optional/optional.hpp> // included for some reason #include <boost/extension/shared_library.hpp> #include <boost/extension/convenience.hpp> // load_single_library
void loadExtension () { boost::extensions::factory_map fm; // we don't need the following line to produce the compiler error //boost::extensions::load_single_library(fm, ".", "external_function_name"); }
Any ideas how to get it to work with the good old Visual Studio 2003? -- David Matz ---------------------------- Software Developer Spatial View GmbH