diff options
author | Memphiz <memphis@machzwo.de> | 2015-04-11 01:09:08 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2015-04-11 19:27:26 +0200 |
commit | a3fea90f7051a23abfac43fc1e07f9ab4aefbcb6 (patch) | |
tree | f87c04171de2868f748b10444b112b161f3d5b52 | |
parent | 6351f45881ba2a1e7787e3cce8b56a10f7e23585 (diff) |
[osx/ios] - fix compilation with newest apple clang (xcode6.3) - disable forward declaration of boost containers (those broke compilation with c++11 and latest apple clang)
-rw-r--r-- | xbmc/guilib/GUIFontCache.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/guilib/GUIFontCache.cpp b/xbmc/guilib/GUIFontCache.cpp index 1359b2ba2c..33e1d0076d 100644 --- a/xbmc/guilib/GUIFontCache.cpp +++ b/xbmc/guilib/GUIFontCache.cpp @@ -23,6 +23,13 @@ #include "GUIFontTTF.h" #include "GraphicContext.h" +#if defined(TARGET_DARWIN ) +// apple clang with c++11 doesn't like +// the forwards declarations of boost +// disable them ... +#define BOOST_DETAIL_NO_CONTAINER_FWD 1 +#endif + #include "boost/multi_index_container.hpp" #include "boost/multi_index/sequenced_index.hpp" #include "boost/multi_index/hashed_index.hpp" |