|
Boost Users : |
Subject: [Boost-users] boost.extensions bugs?
From: Germán Diago (germandiago_at_[hidden])
Date: 2008-09-13 08:24:28
Hello. I downloaded boost.extensions from
http://boost-extension.blogspot.com/?gclid=CNjp5dfJ2JUCFQsZQgod0mHbWg
When I tried the first example (the shared_library one) in the
tutorial, I realized that the
macro BOOST_EXTENSION_EXPORT_DECL didn't prevent c++ name mangling for
the example
function. I had to add extern "C" before void manually.
And in the second tutorial (the animals tutorial)
BOOST_EXTENSION_TYPE_MAP_FUNCTION
seems to be called, but when I get the map from main, it is empty. The
library is found (LD_LIBRARY_PATH is set
so that it finds the library) but it does not work.
Thank you.
Tested in gcc 4.2.3 under ubuntu 8.04.
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