Boost C++ Libraries: Ticket #2924: BSD and darwin gcc standard libraries aren't always detected. https://svn.boost.org/trac10/ticket/2924 <p> If you look at some of the config results for <a href="http://www.boost.org/development/tests/trunk/developer/output/CBIF-NetBSD-4-0-amd64-boost-bin-v2-libs-config-test-config_info-test-gcc-4-1-2-debug.html">NetBSD</a> and <a href="http://www.boost.org/development/tests/trunk/developer/output/Sandia-tiger-x86-boost-bin-v2-libs-config-test-config_info-test-darwin-4-0-1-debug.html">Darwin</a> they gcc stdlib hasn't been detected (it says 'Unknown ISO standard library') because including <code>&lt;cstddef&gt;</code> doesn't define the C++ macros. </p> <p> The attached patch fixes this for darwin 4.0.1 and hopefully the other platforms as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2924 Trac 1.4.3 Daniel James Wed, 08 Apr 2009 06:10:39 GMT attachment set https://svn.boost.org/trac10/ticket/2924 https://svn.boost.org/trac10/ticket/2924 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">config.patch</span> </li> </ul> Ticket John Maddock Wed, 08 Apr 2009 10:06:17 GMT <link>https://svn.boost.org/trac10/ticket/2924#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:1</guid> <description> <p> Sigh... looks like someone broke this in <a class="ext-link" href="https://svn.boost.org/trac/boost/changeset/52104"><span class="icon">​</span>https://svn.boost.org/trac/boost/changeset/52104</a>, can you go please ahead and commit, and check the release branch as well? </p> <p> Thanks, John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Wed, 08 Apr 2009 10:55:29 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/2924#comment:2 https://svn.boost.org/trac10/ticket/2924#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">ddeakins@…</span> added </li> </ul> <p> Looks like it's broken for Borland as well as all the glibc platforms, I'm CC'ing Dave Deakins as well since he caused the breakage :-) </p> <p> John. </p> Ticket Daniel James Wed, 08 Apr 2009 10:56:27 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2924#comment:3 https://svn.boost.org/trac10/ticket/2924#comment:3 <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/52246" title="Include &lt;utility&gt; for some versions of gcc's library. Sometimes gcc's ...">[52246]</a>) Include &lt;utility&gt; for some versions of gcc's library. </p> <p> Sometimes gcc's &lt;cstddef&gt; doesn't define the C++ macros, so check for it and include &lt;utility&gt; in that case. Also remove a workaround from container_fwd.hpp </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2924" title="#2924: Bugs: BSD and darwin gcc standard libraries aren't always detected. (closed: fixed)">#2924</a>. </p> Ticket Daniel James Wed, 08 Apr 2009 11:02:12 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2924#comment:4 https://svn.boost.org/trac10/ticket/2924#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Sorry, I only read your comment after committing. Reopening for Borland. </p> Ticket Daniel James Wed, 08 Apr 2009 11:03:06 GMT version changed https://svn.boost.org/trac10/ticket/2924#comment:5 https://svn.boost.org/trac10/ticket/2924#comment:5 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> </ul> <p> Oh, and this is only on trunk. The release branch is fine. </p> Ticket Daniel James Wed, 08 Apr 2009 11:07:23 GMT <link>https://svn.boost.org/trac10/ticket/2924#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:6</guid> <description> <p> Actually, it isn't. I had an old version. I think we should revert the change on release. Especially since we're coming up to the deadline. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Wed, 08 Apr 2009 11:14:09 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2924#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:7</guid> <description> <p> Nod, I agree. If David can fix the regressions on Trunk we can always merge to release branch for the next release. </p> <p> John. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Wed, 08 Apr 2009 14:49:30 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2924#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:8</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52254" title="Reverted change in boost/config/select_stdlib_config.hpp change in rev ...">[52254]</a>) Reverted change in boost/config/select_stdlib_config.hpp change in rev 52221. Some gcc and Borland stdlibs don't pick up the C++ macros needed for stdlib detection from &lt;cstddef&gt;. See ticket 2924. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Wed, 08 Apr 2009 14:53:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2924#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:9</guid> <description> <p> My bad. Change reverted on the release branch. I'll look into the Borland issue on the trunk right away and see if there is an easy patch for it. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Wed, 08 Apr 2009 16:46:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2924#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:10</guid> <description> <p> Ok, I just checked in a change to the trunk that will hopefully remove the regressions. I'll keep an eye on the Borland results and close the issue if the problem is resolved. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>David Deakins</dc:creator> <pubDate>Sat, 11 Apr 2009 04:21:37 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2924#comment:11 https://svn.boost.org/trac10/ticket/2924#comment:11 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> The trunk results have cycled and it appears that with the revised change the Borland and gcc results are correct again. I believe this issue is now closed. </p> Ticket Daniel James Sat, 11 Apr 2009 08:49:35 GMT <link>https://svn.boost.org/trac10/ticket/2924#comment:12 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:12</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52324" title="Merge quickbook and hash changelogs. Tweak gcc detection in ...">[52324]</a>) Merge quickbook and hash changelogs. Tweak gcc detection in container_fwd.hpp </p> <p> Merged revisions 52084,52245-52246,52304,52320,52323 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52084" title="Changelog for unordered and hash.">r52084</a> | danieljames | 2009-03-31 20:43:58 +0100 (Tue, 31 Mar 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Changelog for unordered and hash. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52245" title="Detect gcc stdlib for gcc 4.0.1. For some reason the normal macros ...">r52245</a> | danieljames | 2009-04-08 06:51:31 +0100 (Wed, 08 Apr 2009) | 5 lines </p> </blockquote> <p> </p> <blockquote> <p> Detect gcc stdlib for gcc 4.0.1. </p> </blockquote> <p> </p> <blockquote> <p> For some reason the normal macros aren't defined for the standard library that comes with gcc 4.0.1 (although maybe just on BSDs?). So try to detect the library for that compiler. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52246" title="Include &lt;utility&gt; for some versions of gcc's library. Sometimes gcc's ...">r52246</a> | danieljames | 2009-04-08 11:56:22 +0100 (Wed, 08 Apr 2009) | 7 lines </p> </blockquote> <p> </p> <blockquote> <p> Include &lt;utility&gt; for some versions of gcc's library. </p> </blockquote> <p> </p> <blockquote> <p> Sometimes gcc's &lt;cstddef&gt; doesn't define the C++ macros, so check for it and include &lt;utility&gt; in that case. Also remove a workaround from container_fwd.hpp </p> </blockquote> <p> </p> <blockquote> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2924" title="#2924: Bugs: BSD and darwin gcc standard libraries aren't always detected. (closed: fixed)">#2924</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52304" title="Don't use debug containers on darwin. I'm getting errors from the ...">r52304</a> | danieljames | 2009-04-10 20:25:32 +0100 (Fri, 10 Apr 2009) | 4 lines </p> </blockquote> <p> </p> <blockquote> <p> Don't use debug containers on darwin. </p> </blockquote> <p> </p> <blockquote> <p> I'm getting errors from the darwin 4.2 debug containers which appear to a problem with its implementation. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52320" title="Don't need to include utility now that select_stdlib has been fixed.">r52320</a> | danieljames | 2009-04-11 08:53:59 +0100 (Sat, 11 Apr 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Don't need to include utility now that select_stdlib has been fixed. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52323" title="Also don't need to check for _GLIBCXX_CSTDDEF.">r52323</a> | danieljames | 2009-04-11 09:26:20 +0100 (Sat, 11 Apr 2009) | 1 line </p> </blockquote> <p> </p> <blockquote> <p> Also don't need to check for _GLIBCXX_CSTDDEF. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sat, 11 Apr 2009 12:42:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2924#comment:13 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2924#comment:13</guid> <description> <p> Oops, sorry that got posted to this ticket. I didn't merge any changes to config there, as the later patches reverted the changes I made to config. </p> </description> <category>Ticket</category> </item> </channel> </rss>