David Matz wrote:
error: error C2039: 'boost::get': Ist kein Element von 'boost::extensions::shared_library'
Jeremy Pack wrote:
Please add the command line option /P to your build - this will output the preprocessed version of your file test_extension_and_optional.cpp. Then send this to me - I might be able to figure out what is going on. It looks like one of the preprocessor macros used by Boost.PreProcessor isn't working
It seems to me that the compile error isn't caused by Boost.PreProcessor.
Actually I think I've found a workaround: Explicitly qualify the
shared_library::get member function call in extension/convenience.hpp (line 29),
(by adding the class name, "shared_library::") and the MSVC 7.1 error message
disappears!
HTH, Niels
PS Here's the patch:
Index: convenience.hpp
===================================================================
--- convenience.hpp (revision 44584)
+++ convenience.hpp (working copy)
@@ -26,7 +26,7 @@
return;
}
void (*func)(factory_map &) =
- lib.get