<br><br>
<div><span class="gmail_quote">On 11/14/06, <b class="gmail_sendername">Caleb Epstein</b> &lt;<a href="mailto:caleb.epstein@gmail.com">caleb.epstein@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Not sure if it helps, but the compiler seems to be complaining about this line:<br><br>BOOST_STATIC_ASSERT(BOOST_PYTHON_OFFSETOF(rvalue_from_python_storage&lt;T&gt;,stage1)
<br>== 0);<br><br>Where Solaris appears to define offsetof() in /usr/include/iso/stddef_iso.h as:<br><br>#if __cplusplus &gt;= 199711L<br>#define offsetof(s, m)&nbsp;&nbsp;(std::size_t)(&amp;(((s *)0)-&gt;m))<br>#else<br>#define offsetof(s, m)&nbsp;&nbsp;(size_t)(&amp;(((s *)0)-&gt;m))
<br>#endif<br><br>Not sure if there is much that I can do to help aside from saying &quot;it<br>works for me&quot; using gcc 4.1.1.</blockquote>
<div>&nbsp;</div>
<div>Thanks for looking at this and the info, Caleb.&nbsp;&nbsp;I'll see about about upgrading gcc and giving it another try.</div>
<div>- Chris</div>
<div>&nbsp;</div><br>&nbsp;</div>