#6740 closed Patches (fixed)
small fix for boost/config/compiler/clang.hpp
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | exceptions config clang | Cc: | sven-boost@… |
Description
Here's a small patch for boost/config/compiler/clang.hpp that fixes a redefinition error when compiling with clang and -DBOOST_NO_EXCEPTIONS
-
boost/config/compiler/clang.hpp
old new 8 8 9 9 // Clang compiler setup. 10 10 11 #if __has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) 12 #else 11 #if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) 13 12 # define BOOST_NO_EXCEPTIONS 14 13 #endif
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This seems a copy-and-paste error in the fix for #4059 (should not redefine BOOST_NO_EXCEPTIONS). John, I'm going to apply the patch.