
14 Nov
2006
14 Nov
'06
6:46 p.m.
On 11/13/06, chris botos <chris.botos@gmail.com> wrote: Not sure if it helps, but the compiler seems to be complaining about this line: BOOST_STATIC_ASSERT(BOOST_PYTHON_OFFSETOF(rvalue_from_python_storage<T>,stage1) == 0); Where Solaris appears to define offsetof() in /usr/include/iso/stddef_iso.h as: #if __cplusplus >= 199711L #define offsetof(s, m) (std::size_t)(&(((s *)0)->m)) #else #define offsetof(s, m) (size_t)(&(((s *)0)->m)) #endif Not sure if there is much that I can do to help aside from saying "it works for me" using gcc 4.1.1. -- Caleb Epstein