summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-08-16 15:38:00 -0400
committerPeter Foley <pefoley2@verizon.net>2012-08-16 17:54:55 -0400
commit5d25bbee44cda24b61188ab2fa1a892824b55f40 (patch)
tree03b4b9b39bfa3c8789dfd2859f821db69519a12d /boost
parent37b9e290d9e3d20652df0abe1a1458412f3cfe2c (diff)
fix sal build with vs2012
Change-Id: Ia03980d5d890de7db1e606409a646a5a4f79e91e
Diffstat (limited to 'boost')
-rw-r--r--boost/boost.vc2012.patch14
-rw-r--r--boost/makefile.mk1
2 files changed, 15 insertions, 0 deletions
diff --git a/boost/boost.vc2012.patch b/boost/boost.vc2012.patch
new file mode 100644
index 000000000000..146ac0942b4d
--- /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 5ce795f1e7fe..6a3a7b015b55 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"