From 0a7dc2cfedee42f4e3a27d87a200475d04655b17 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 12:10:30 +0000 Subject: INTEGRATION: CWS warnings01 (1.3.22); FILE MERGED 2005/12/07 09:00:14 sb 1.3.22.1: #i53898# Disable certain warnings from within boost headers.' --- boost/spirit-1.6.1.patch | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) (limited to 'boost') diff --git a/boost/spirit-1.6.1.patch b/boost/spirit-1.6.1.patch index b64271035a22..eabfb68afa98 100644 --- a/boost/spirit-1.6.1.patch +++ b/boost/spirit-1.6.1.patch @@ -146,9 +146,23 @@ + *** misc/spirit-1.6.1/miniboost/boost/optional.hpp 2003-07-08 04:19:09.000000000 +0200 --- misc/build/spirit-1.6.1/miniboost/boost/optional.hpp 2005-04-01 15:23:03.764855626 +0200 +*************** +*** 17,22 **** +--- 17,27 ---- + #ifndef BOOST_OPTIONAL_FLC_19NOV2002_HPP + #define BOOST_OPTIONAL_FLC_19NOV2002_HPP + ++ #if defined _MSC_VER ++ #pragma warning(push) ++ #pragma warning(disable: 4668) // "id is not defined as a preprocessor macro" ++ #endif ++ + #include + #include + *************** *** 194,200 **** ---- 194,204 ---- +--- 199,209 ---- // implicit conversion to "bool" // No-throw @@ -160,6 +174,18 @@ // This is provided for those compilers which don't like the conversion to bool // on some contexts. +*************** +*** 313,317 **** +--- 322,330 ---- + + } // namespace boost + ++ #if defined _MSC_VER ++ #pragma warning(pop) ++ #endif ++ + #endif + *** misc/spirit-1.6.1/miniboost/boost/scoped_array.hpp 2003-07-08 04:19:08.000000000 +0200 --- misc/build/spirit-1.6.1/miniboost/boost/scoped_array.hpp 2005-04-01 15:26:31.066393207 +0200 *************** @@ -226,6 +252,23 @@ *** misc/spirit-1.6.1/miniboost/boost/shared_ptr.hpp 2003-07-08 04:19:08.000000000 +0200 --- misc/build/spirit-1.6.1/miniboost/boost/shared_ptr.hpp 2005-04-01 15:29:09.319245401 +0200 *************** +*** 35,41 **** + + #ifdef BOOST_MSVC // moved here to work around VC++ compiler crash + # pragma warning(push) +! # pragma warning(disable:4284) // odd return type for operator-> + #endif + + namespace boost +--- 35,41 ---- + + #ifdef BOOST_MSVC // moved here to work around VC++ compiler crash + # pragma warning(push) +! # pragma warning(disable: 4668) // "id is not defined as a preprocessor macro" + #endif + + namespace boost +*************** *** 246,257 **** --- 246,261 ---- -- cgit