Re: [dfports] devel/boost override - help request.

看板DFBSD_submit作者時間21年前 (2004/09/27 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/8 (看更多)
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
文章代碼(AID): #11Lo0600 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #11Lo0600 (DFBSD_submit)