|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-01-19 19:49:40
Jody Hagins <jody-boost-011304_at_[hidden]> writes:
> On Thu, 19 Jan 2006 09:45:10 -0500
> Jody Hagins <jody-boost-011304_at_[hidden]> wrote:
>
>>
>> Class declarations like this...
>>
>> class BOOST_PYTHON_DECL wrapper_base;
>>
>> are causing compiler warnings on gcc 4.0.2 with a warning like:
>>
>> type attributes are honored only at type definition
>>
>>
>> However, I see this is also used to handle the insane import/export
>> windows DLL stuff. Since I do not do much compilation on the windows
>> platforms anymore, is the BOOST_PYTHON_DECL really necessary in the
>> forward declaration, or is it just a convention?
>
>
> After looking a bit more, I see a BOOST_PYTHON_DECL_FORWARD in
> config.hpp. Should this be used here instead?
Sounds right to me. Patches welcome.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk