|
Boost Users : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2006-11-14 13:46:52
On 11/13/06, chris botos <chris.botos_at_[hidden]> 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
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