| author | Peter Foley <pefoley2@verizon.net> | 2012-08-16 19:38:00 (GMT) |
|---|---|---|
| committer | Peter Foley <pefoley2@verizon.net> | 2012-08-16 21:54:55 (GMT) |
| commit | 5d25bbee44cda24b61188ab2fa1a892824b55f40 (patch) (side-by-side diff) | |
| tree | 03b4b9b39bfa3c8789dfd2859f821db69519a12d | |
| parent | 37b9e290d9e3d20652df0abe1a1458412f3cfe2c (diff) | |
| download | core-5d25bbee44cda24b61188ab2fa1a892824b55f40.zip core-5d25bbee44cda24b61188ab2fa1a892824b55f40.tar.gz | |
fix sal build with vs2012
Change-Id: Ia03980d5d890de7db1e606409a646a5a4f79e91e
| -rw-r--r-- | boost/boost.vc2012.patch | 14 | ||||
| -rw-r--r-- | boost/makefile.mk | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/boost/boost.vc2012.patch b/boost/boost.vc2012.patch new file mode 100644 index 0000000..146ac09 --- a/dev/null +++ b/boost/boost.vc2012.patch @@ -0,0 +1,14 @@ +--- misc/build/boost_1_44_0/boost/config/compiler/visualc.hpp ++++ misc/build/boost_1_44_0/boost/config/compiler/visualc.hpp +@@ -101,6 +101,11 @@ + # define BOOST_NO_ADL_BARRIER + #endif + ++#if _MSC_VER >= 1700 // 1700 == VC++ 11.0 ++ // Removed in VC11: ++# define BOOST_NO_0X_HDR_INITIALIZER_LIST ++#endif ++ + + #if (_MSC_VER <= 1600) + // MSVC (including the latest checked version) has not yet completely diff --git a/boost/makefile.mk b/boost/makefile.mk index 5ce795f..6a3a7b0 100644 --- a/boost/makefile.mk +++ b/boost/makefile.mk @@ -69,6 +69,7 @@ PATCH_FILES+=boost.6397.warnings.patch PATCH_FILES+=boost.mipsbackport.patch PATCH_FILES+=boost.windows.patch +PATCH_FILES+=boost.vc2012.patch # Help static analysis tools (see SAL_UNUSED_PARAMETER in sal/types.h): .IF "$(COM)" == "GCC" |
