Boost C++ Libraries: Ticket #3209: operations.cpp does not compile on Mac OS X with Carbon.h included https://svn.boost.org/trac10/ticket/3209 <p> The ok error_code constant in /libs/filesystem/src/operations.cpp confuses at least <a class="missing wiki">CodeWarrior</a> 9.6, because there is an enum value with the same name coming from the <a class="missing wiki">DialogManager</a>. You receive this <a class="missing wiki">DialogManager</a> constant if you compile code, which requires the Mac Carbon interface. I suggest to rename this constant to something more unique, e.g. boost_ok. </p> <p> My current explanation of this issue is that <a class="missing wiki">CodeWarrior</a> does not seem to be able to distinguish a local namespace constant from a global namespace constant with the same name. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3209 Trac 1.4.3 Beman Dawes Sun, 20 Jun 2010 17:28:45 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3209#comment:1 https://svn.boost.org/trac10/ticket/3209#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">worksforme</span> </li> </ul> <p> <a class="missing wiki">CodeWarrior</a> isn't a supported compiler. Also, I'm not aware of any reason to include a Mac OS X header in a operations.cpp compile. </p> <p> Sorry, </p> <p> --Beman </p> Ticket Wolfgang Textor <wtextor@…> Mon, 21 Jun 2010 06:59:00 GMT <link>https://svn.boost.org/trac10/ticket/3209#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3209#comment:2</guid> <description> <p> Just for your information. </p> <p> <a class="missing wiki">CodeWarrior</a> is still supported by boost.build, and we still need it on occasion to support old stuff (although it became rare over the last two years). The reason to use Mac OS X Carbon headers with a operations.cpp compile is to have a source-only compilation in a <a class="missing wiki">CodeWarrior</a> project, which uses the Carbon toolset as well. Nevertheless, we are sticking to boost 1.36 for these projects and they won't be updated to a newer version. </p> <p> Thanks, </p> <p> Wolfgang </p> </description> <category>Ticket</category> </item> </channel> </rss>