[dfports] devel/boost override - help request.
    Joerg Sonnenberger 
    joerg at britannica.bec.de
       
    Sun Sep 26 12:34:56 PDT 2004
    
    
  
On Sun, Sep 26, 2004 at 08:14:48PM +0200, Henry Kleynhans wrote:
> Patrick Mauritz wrote:
> >#define BOOST_PYTHON_OFFSETOF(s_name, s_member) \
> >       (__offsetof__ (reinterpret_cast <size_t> (&reinterpret_cast
> ><const volatile char &> (static_cast<s_name *> (0)->s_member))))
> >
> >in boost/python/detail/config.hpp fixes things
> 
> Is this GCC version specific?
The problem is that __offsetof__ is GCC 3.4 specific. I haven't yet
decided if I want to put something like this in our header files or not.
Joerg
> 
> Kind regards,
> 
> Henry
    
    
More information about the Submit
mailing list