[Boost-bugs] [Boost C++ Libraries] #3209: operations.cpp does not compile on Mac OS X with Carbon.h included

Subject: [Boost-bugs] [Boost C++ Libraries] #3209: operations.cpp does not compile on Mac OS X with Carbon.h included
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-23 15:37:58


#3209: operations.cpp does not compile on Mac OS X with Carbon.h included
-----------------------------------------------+----------------------------
 Reporter: Wolfgang Textor <wtextor@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: filesystem
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
-----------------------------------------------+----------------------------
 The ok error_code constant in /libs/filesystem/src/operations.cpp confuses
 at least CodeWarrior 9.6, because there is an enum value with the same
 name coming from the DialogManager. You receive this DialogManager
 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.

 My current explanation of this issue is that CodeWarrior does not seem to
 be able to distinguish a local namespace constant from a global namespace
 constant with the same name.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3209>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC