Boost C++ Libraries: Ticket #3708: Followup patch to Changeset 49704 https://svn.boost.org/trac10/ticket/3708 <p> On 2008-11-12 Changeset 49704 was submitted to the boost trunk for boost/type_traits/intrinsics.hpp to fix a 32-bit Linux alignment_of failure. </p> <p> Part of the change was to check for <code>"#if !defined(unix)"</code>. If intrinsics.hpp is compiled on 32-bit Linux using GCC 4.3 with the -std=c++98 command-line argument then this fix will not work as expected. The -std=c++98 argument argument informs the compiler to define <code>"__unix__"</code> but not <code>"unix"</code>. </p> <p> If believe the original fix needs to be updated to check for <code>"#if !defined(__unix__)"</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3708 Trac 1.4.3 Troy.Runkel@… Thu, 03 Dec 2009 16:26:44 GMT attachment set https://svn.boost.org/trac10/ticket/3708 https://svn.boost.org/trac10/ticket/3708 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_path.diff</span> </li> </ul> <p> Unified diff for code patch </p> Ticket John Maddock Fri, 04 Dec 2009 10:18:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3708#comment:1 https://svn.boost.org/trac10/ticket/3708#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/58135" title="Check for __unix__ as well as unix. Fixes #3708.">[58135]</a>) Check for <span class="underline">unix</span> as well as unix. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3708" title="#3708: Bugs: Followup patch to Changeset 49704 (closed: fixed)">#3708</a>. </p> Ticket