Boost logo

Boost Users :

From: David Matz (david.matz_at_[hidden])
Date: 2008-04-18 11:01:13


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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net