diff --git a/test/A.cpp b/test/A.cpp index 81089193..bd3e9fb9 100644 --- a/test/A.cpp +++ b/test/A.cpp @@ -74,6 +74,11 @@ A::operator std::size_t () const { return retval; } +#if defined(_MSC_VER) +#pragma warning(push) // Save warning settings. +#pragma warning(disable : 4244) // Disable possible loss of data warning + +#endif A::A() : b(true), #ifndef BOOST_NO_INT64_T @@ -90,8 +95,8 @@ A::A() : r(std::rand()), #endif c(0xff & std::rand()), - s(std::rand()), - t(std::rand()), + s(0xff & std::rand()), + t(0xff & std::rand()), u(std::rand()), v(std::rand()), w((float)std::rand()), @@ -103,6 +108,10 @@ A::A() : #endif } +#if defined(_MSC_VER) +#pragma warning(pop) // Restore warnings to previous state. +#endif + bool A::operator==(const A &rhs) const { if(b != rhs.b) diff --git a/test/B.hpp b/test/B.hpp index 4180139a..9d2f14d8 100644 --- a/test/B.hpp +++ b/test/B.hpp @@ -86,8 +86,8 @@ public: }; B::B() : - s(std::rand()), - t(std::rand()), + s(static_cast(std::rand())), + t(static_cast(std::rand())), u(std::rand()), v(std::rand()), w((float)std::rand() / std::rand()), diff --git a/test/test_binary.cpp b/test/test_binary.cpp index e5a803a4..a7a4aed0 100644 --- a/test/test_binary.cpp +++ b/test/test_binary.cpp @@ -8,7 +8,7 @@ // should pass compilation and execution -#include // for rand(), NULL +#include // for rand(), NULL, size_t #include #include @@ -48,7 +48,7 @@ public: A::A(){ int i = sizeof(data); while(i-- > 0) - data[i] = 0xff & std::rand(); + data[i] = static_cast(0xff & std::rand()); } bool A::operator==(const A & rhs) const { diff --git a/test/test_delete_pointer.cpp b/test/test_delete_pointer.cpp index 364a97d4..aaff3821 100644 --- a/test/test_delete_pointer.cpp +++ b/test/test_delete_pointer.cpp @@ -87,7 +87,7 @@ test_main( int /* argc */, char* /* argv */[] ) vec.push_back(a); } - const char * testfile = boost::archive::tmpnam(NULL); + const char * testfile = boost::archive::tmpnam(0); BOOST_REQUIRE(NULL != testfile); //output the vector diff --git a/test/test_derived_class.cpp b/test/test_derived_class.cpp index 41544a2f..f123c92c 100644 --- a/test/test_derived_class.cpp +++ b/test/test_derived_class.cpp @@ -23,7 +23,7 @@ namespace std{ #include "B.hpp" #include "A.ipp" -int test_main( int argc, char* argv[] ) +int test_main( int /*argc*/, char* /*argv*/[] ) { const char * testfile = boost::archive::tmpnam(NULL); diff --git a/test/test_inclusion.cpp b/test/test_inclusion.cpp index 220a5138..d258cb6a 100644 --- a/test/test_inclusion.cpp +++ b/test/test_inclusion.cpp @@ -37,6 +37,6 @@ private: }; int -main(int argc, char * argv[]){ +main(int /*argc*/, char * /*argv*/[]){ return 0; } diff --git a/test/test_iterators.cpp b/test/test_iterators.cpp index bc9a9cae..cc096dab 100644 --- a/test/test_iterators.cpp +++ b/test/test_iterators.cpp @@ -105,7 +105,7 @@ void test_transform_width(unsigned int size){ char * rptr; for(rptr = rawdata + 6; rptr-- > rawdata;) - *rptr = std::rand(); + *rptr = static_cast(0xff & std::rand()); // convert 8 to 6 bit characters typedef boost::archive::iterators::transform_width< diff --git a/test/test_iterators_base64.cpp b/test/test_iterators_base64.cpp index 88949227..a3ebaa71 100644 --- a/test/test_iterators_base64.cpp +++ b/test/test_iterators_base64.cpp @@ -42,7 +42,7 @@ void test_base64(){ std::size_t size = sizeof(rawdata) / sizeof(CharType); CharType * rptr; for(rptr = rawdata + size; rptr-- > rawdata;) - *rptr = std::rand(); + *rptr = static_cast(std::rand()); // convert to base64 typedef std::list text_base64_type; @@ -90,7 +90,7 @@ void test_base64(){ } int -test_main( int argc, char* argv[] ) +test_main( int /*argc*/, char* /*argv*/[] ) { test_base64(); #ifndef BOOST_NO_CWCHAR diff --git a/test/test_new_operator.cpp b/test/test_new_operator.cpp index 656d66d5..c356b02a 100644 --- a/test/test_new_operator.cpp +++ b/test/test_new_operator.cpp @@ -30,7 +30,7 @@ namespace std{ class ANew : public A { friend class boost::serialization::access; template - void serialize(Archive & ar, const unsigned file_version){ + void serialize(Archive & ar, const unsigned /*file_version*/){ ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(A); } public: @@ -43,7 +43,7 @@ public: ++m_new_calls; return ::operator new(s); } - static void operator delete(void *p, std::size_t s){ + static void operator delete(void *p, std::size_t /*s*/){ ++m_delete_calls; ::operator delete(p); } diff --git a/test/test_non_default_ctor.cpp b/test/test_non_default_ctor.cpp index e60e055c..4c128a67 100644 --- a/test/test_non_default_ctor.cpp +++ b/test/test_non_default_ctor.cpp @@ -63,6 +63,8 @@ class A ar & BOOST_SERIALIZATION_NVP(w); ar & BOOST_SERIALIZATION_NVP(x); } + A(const A & rhs); + A & operator=(const A & rhs); public: static int count; const int & get_i() const { @@ -76,8 +78,8 @@ int A::count = 0; A::A(int i_) : i(i_), - s(std::rand()), - t(std::rand()), + s(static_cast(0xff & std::rand())), + t(static_cast(0xff & std::rand())), u(std::rand()), v(std::rand()), w((float)std::rand() / std::rand()), @@ -104,13 +106,13 @@ bool A::operator==(const A &rhs) const bool A::operator<(const A &rhs) const { - if(! s == rhs.s ) + if(! (s == rhs.s) ) return s < rhs.s; - if(! t == rhs.t ) + if(! (t == rhs.t) ) return t < rhs.t; - if(! u == rhs.u ) + if(! (u == rhs.u) ) return t < rhs.u; - if(! v == rhs.v ) + if(! (v == rhs.v) ) return t < rhs.v; if(! (std::fabs(w - rhs.w) < std::numeric_limits::round_error() ) ) return t < rhs.w; diff --git a/test/test_non_default_ctor2.cpp b/test/test_non_default_ctor2.cpp index 6d3dfc3e..ed718382 100644 --- a/test/test_non_default_ctor2.cpp +++ b/test/test_non_default_ctor2.cpp @@ -99,14 +99,17 @@ template void save_construct_data( ArchiveT& archive, const A* p, - const BOOST_PFTO unsigned int version + const BOOST_PFTO unsigned int /*version*/ ){ archive & boost::serialization::make_nvp("initialValue", p->value); } template -void load_construct_data(ArchiveT& archive, A* p, const unsigned int version) -{ +void load_construct_data( + ArchiveT& archive, + A* p, + const unsigned int /*version*/ +){ IntValueHolder initialValue; archive & boost::serialization::make_nvp("initialValue", initialValue); diff --git a/test/test_non_intrusive.cpp b/test/test_non_intrusive.cpp index eefdf7ec..250be63a 100644 --- a/test/test_non_intrusive.cpp +++ b/test/test_non_intrusive.cpp @@ -51,8 +51,8 @@ public: }; A::A() : - s(std::rand()), - t(std::rand()), + s(static_cast(0xff & std::rand())), + t(static_cast(0xff & std::rand())), u(std::rand()), v(std::rand()), w((float)std::rand() / std::rand()), @@ -74,13 +74,13 @@ bool A::operator==(const A &rhs) const bool A::operator<(const A &rhs) const { - if(! s == rhs.s ) + if(! (s == rhs.s) ) return s < rhs.s; - if(! t == rhs.t ) + if(! (t == rhs.t) ) return t < rhs.t; - if(! u == rhs.u ) + if(! (u == rhs.u) ) return t < rhs.u; - if(! v == rhs.v ) + if(! (v == rhs.v) ) return t < rhs.v; if(! (std::fabs(w - rhs.w) < std::numeric_limits::round_error() ) ) return t < rhs.w; diff --git a/test/test_null_ptr.cpp b/test/test_null_ptr.cpp index 18344dd9..e52631a8 100644 --- a/test/test_null_ptr.cpp +++ b/test/test_null_ptr.cpp @@ -60,8 +60,10 @@ void load(const char *testfile) test_istream is(testfile, TEST_STREAM_FLAGS); test_iarchive ia(is, TEST_ARCHIVE_FLAGS); - polymorphic_base *rb1 = (polymorphic_base *)0xfffffff; - polymorphic_derived1 *rd1 = (polymorphic_derived1 *)0xffffffff; + polymorphic_derived1 dummy; + + polymorphic_base *rb1 = & dummy; + polymorphic_derived1 *rd1 = & dummy; ia >> BOOST_SERIALIZATION_NVP(rb1); BOOST_CHECK_MESSAGE(NULL == rb1, "Null pointer not restored"); diff --git a/test/test_nvp.cpp b/test/test_nvp.cpp index 210e2a89..cd546e01 100644 --- a/test/test_nvp.cpp +++ b/test/test_nvp.cpp @@ -26,7 +26,8 @@ namespace std{ #include "B.hpp" #include "A.ipp" -int test_main( int argc, char* argv[] ) +int +test_main( int /* argc */, char* /* argv */[] ) { const char * testfile = boost::archive::tmpnam(NULL); BOOST_REQUIRE(NULL != testfile); diff --git a/test/test_private_ctor.cpp b/test/test_private_ctor.cpp index 8e9a8dfc..72b3904f 100644 --- a/test/test_private_ctor.cpp +++ b/test/test_private_ctor.cpp @@ -24,7 +24,7 @@ class V { {} ~V(){} template - void serialize(Archive& ar, unsigned version) + void serialize(Archive& ar, unsigned /*version*/) { ar & m_i; } diff --git a/test/test_reset_object_address.cpp b/test/test_reset_object_address.cpp index b1eb60f9..b78d52f8 100644 --- a/test/test_reset_object_address.cpp +++ b/test/test_reset_object_address.cpp @@ -63,7 +63,7 @@ class B { friend class boost::serialization::access; int m_i; template - void serialize(Archive &ar, const unsigned int file_version){ + void serialize(Archive &ar, const unsigned int /*file_version*/){ ar & m_i; } public: @@ -108,7 +108,7 @@ void test2(){ class D { friend class boost::serialization::access; template - void serialize(Archive &ar, const unsigned int file_version){ + void serialize(Archive &ar, const unsigned int /*file_version*/){ ar & m_b; } public: @@ -149,7 +149,7 @@ class E { int m_i; friend class boost::serialization::access; template - void serialize(Archive &ar, const unsigned int file_version){ + void serialize(Archive &ar, const unsigned int /*file_version*/){ ar & m_i; } public: @@ -170,7 +170,7 @@ class F { friend class boost::serialization::access; E * m_eptr; template - void serialize(Archive &ar, const unsigned int file_version){ + void serialize(Archive &ar, const unsigned int /*file_version*/){ ar & m_eptr; } public: @@ -219,13 +219,13 @@ class G { A m_a2; A *m_pa2; template - void save(Archive &ar, const unsigned int file_version) const { + void save(Archive &ar, const unsigned int /*file_version*/) const { ar << m_a1; ar << m_a2; ar << m_pa2; } template - void load(Archive &ar, const unsigned int file_version){ + void load(Archive &ar, const unsigned int /*file_version*/){ A a; // temporary A ar >> a; m_a1 = a; diff --git a/test/test_smart_cast.cpp b/test/test_smart_cast.cpp index 58f43505..12265a01 100644 --- a/test/test_smart_cast.cpp +++ b/test/test_smart_cast.cpp @@ -25,11 +25,20 @@ class Base2 int b; }; +#ifdef BOOST_MSVC +# pragma warning(push) +# pragma warning(disable : 4511 4512) +#endif + class Derived : public Base1, public Base2 { long c; }; +#ifdef BOOST_MSVC +#pragma warning(pop) +#endif + BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Base1) BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Base2) BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(Derived) @@ -112,7 +121,6 @@ void test_static_pointer_cast(){ ); } - class VBase1 : public boost::noncopyable { char a; @@ -127,6 +135,11 @@ public: virtual ~VBase2(){}; }; +#ifdef BOOST_MSVC +# pragma warning(push) +# pragma warning(disable : 4511 4512) +#endif + class VDerived : public VBase1, public VBase2 { long c; @@ -134,6 +147,10 @@ public: virtual ~VDerived(){}; }; +#ifdef BOOST_MSVC +#pragma warning(pop) +#endif + BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(VBase1) BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(VBase2) BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(VDerived) diff --git a/test/test_tools.hpp b/test/test_tools.hpp index ccadd182..bf2656c9 100644 --- a/test/test_tools.hpp +++ b/test/test_tools.hpp @@ -17,6 +17,7 @@ // See http://www.boost.org for updates, documentation, and revision history. #include // remove, tmpnam +#include // size_t #ifndef BOOST_NO_EXCEPTION_STD_NAMESPACE #include #endif @@ -74,7 +75,7 @@ namespace boost { namespace archive { const char * test_filename(const char * dir = NULL, char *fname = NULL){ static char ibuffer [512]; - int i; + std::size_t i; ibuffer[0] = '\0'; if(NULL == dir){ dir = boost::archive::tmpdir(); diff --git a/util/test.jam b/util/test.jam index dad55848..4bde141b 100644 --- a/util/test.jam +++ b/util/test.jam @@ -33,8 +33,10 @@ rule run-template ( test-name : sources * : requirements * ) { : # command : # input files : # requirements - # toolset suppress-warnings - gcc:"-Wno-non-virtual-dtor -Wno-ctor-dtor-privacy" + # toolset warnings + # gcc:"-Wno-non-virtual-dtor -Wno-ctor-dtor-privacy" + gcc:all # ? + msvc:all # == /W4 msvc-8.0:"-wd4996" borland:"-w-8080 -w-8071 -w-8057 -w-8062 -w-8008 -w-0018 -w-8066" # toolset optimizations diff --git a/vc7ide/Library.vcproj b/vc7ide/Library.vcproj index c464c15d..ca89b947 100644 --- a/vc7ide/Library.vcproj +++ b/vc7ide/Library.vcproj @@ -36,7 +36,7 @@ ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" UsePrecompiledHeader="0" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="3" CompileAs="0"/> @@ -663,6 +663,9 @@ + + diff --git a/vc7ide/test_array.vcproj b/vc7ide/test_array.vcproj index f66a80e3..cd45e666 100644 --- a/vc7ide/test_array.vcproj +++ b/vc7ide/test_array.vcproj @@ -1704,14 +1704,14 @@ Optimization="0" ImproveFloatingPointConsistency="TRUE" AdditionalIncludeDirectories=""$(ProjectDir)..\..\.."" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_LIB_DIAGNOSTIC=1;BOOST_ALL_DYN_LINK=1" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_LIB_DIAGNOSTIC=1;BOOST_ALL_DYN_LINK=1;BOOST_ARCHIVE_TEST=binary_archive.hpp" BasicRuntimeChecks="0" SmallerTypeCheck="FALSE" RuntimeLibrary="3" TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" DebugInformationFormat="1"/> diff --git a/vc7ide/test_binary.vcproj b/vc7ide/test_binary.vcproj index 2e63fce6..64fab9e1 100644 --- a/vc7ide/test_binary.vcproj +++ b/vc7ide/test_binary.vcproj @@ -21,7 +21,7 @@ Optimization="0" ImproveFloatingPointConsistency="TRUE" AdditionalIncludeDirectories=""$(ProjectDir)..\..\..\"" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_LIB_DIAGNOSTIC=1;BOOST_ALL_DYN_LINK=1" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_LIB_DIAGNOSTIC=1;BOOST_ALL_DYN_LINK=1;BOOST_ARCHIVE_TEST=binary_archive.hpp" SmallerTypeCheck="TRUE" RuntimeLibrary="3" BufferSecurityCheck="TRUE" @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_class_info_load.vcproj b/vc7ide/test_class_info_load.vcproj index 81c8b6a0..d5e2fe97 100644 --- a/vc7ide/test_class_info_load.vcproj +++ b/vc7ide/test_class_info_load.vcproj @@ -21,7 +21,7 @@ Optimization="0" ImproveFloatingPointConsistency="TRUE" AdditionalIncludeDirectories=""$(ProjectDir)..\..\..\"" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_LIB_DIAGNOSTIC=1;BOOST_ALL_DYN_LINK=1" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_LIB_DIAGNOSTIC=1;BOOST_ALL_DYN_LINK=1;BOOST_ARCHIVE_TEST=xml_warchive.hpp" SmallerTypeCheck="TRUE" RuntimeLibrary="3" BufferSecurityCheck="TRUE" @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_codecvt_null.vcproj b/vc7ide/test_codecvt_null.vcproj index f96c0aa0..9c0d8de1 100644 --- a/vc7ide/test_codecvt_null.vcproj +++ b/vc7ide/test_codecvt_null.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_contained_class.vcproj b/vc7ide/test_contained_class.vcproj index 3e425c86..2e35a291 100644 --- a/vc7ide/test_contained_class.vcproj +++ b/vc7ide/test_contained_class.vcproj @@ -28,7 +28,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_delete_pointer.vcproj b/vc7ide/test_delete_pointer.vcproj index ff8376c7..4bf212ce 100644 --- a/vc7ide/test_delete_pointer.vcproj +++ b/vc7ide/test_delete_pointer.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_deque.vcproj b/vc7ide/test_deque.vcproj index 67469952..1cd49922 100644 --- a/vc7ide/test_deque.vcproj +++ b/vc7ide/test_deque.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_derived_class_ptr.vcproj b/vc7ide/test_derived_class_ptr.vcproj index aa585774..df09110f 100644 --- a/vc7ide/test_derived_class_ptr.vcproj +++ b/vc7ide/test_derived_class_ptr.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_diamond.vcproj b/vc7ide/test_diamond.vcproj index 854f1122..1aff9ef6 100644 --- a/vc7ide/test_diamond.vcproj +++ b/vc7ide/test_diamond.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_dll_simple.vcproj b/vc7ide/test_dll_simple.vcproj index 2e171e9a..ecae81ba 100644 --- a/vc7ide/test_dll_simple.vcproj +++ b/vc7ide/test_dll_simple.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_exported.vcproj b/vc7ide/test_exported.vcproj index 4461b992..3f8e307d 100644 --- a/vc7ide/test_exported.vcproj +++ b/vc7ide/test_exported.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_inclusion.vcproj b/vc7ide/test_inclusion.vcproj index 9ff589fe..57ec4091 100644 --- a/vc7ide/test_inclusion.vcproj +++ b/vc7ide/test_inclusion.vcproj @@ -28,7 +28,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_iterators_base64.vcproj b/vc7ide/test_iterators_base64.vcproj index 333a9138..16dd2ebe 100644 --- a/vc7ide/test_iterators_base64.vcproj +++ b/vc7ide/test_iterators_base64.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_list.vcproj b/vc7ide/test_list.vcproj index e307f162..9789764c 100644 --- a/vc7ide/test_list.vcproj +++ b/vc7ide/test_list.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_list_ptrs.vcproj b/vc7ide/test_list_ptrs.vcproj index 3eb102f7..4317d4c1 100644 --- a/vc7ide/test_list_ptrs.vcproj +++ b/vc7ide/test_list_ptrs.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_map.vcproj b/vc7ide/test_map.vcproj index a90ea74b..02b91506 100644 --- a/vc7ide/test_map.vcproj +++ b/vc7ide/test_map.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_mi.vcproj b/vc7ide/test_mi.vcproj index 7c9fbe42..65df43e1 100644 --- a/vc7ide/test_mi.vcproj +++ b/vc7ide/test_mi.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_multiple_inheritance.vcproj b/vc7ide/test_multiple_inheritance.vcproj index 00f8825e..216a8819 100644 --- a/vc7ide/test_multiple_inheritance.vcproj +++ b/vc7ide/test_multiple_inheritance.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_new_operator.vcproj b/vc7ide/test_new_operator.vcproj index 39f4ec31..b178d673 100644 --- a/vc7ide/test_new_operator.vcproj +++ b/vc7ide/test_new_operator.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_no_rtti.vcproj b/vc7ide/test_no_rtti.vcproj index 9c9196ed..f7e2954d 100644 --- a/vc7ide/test_no_rtti.vcproj +++ b/vc7ide/test_no_rtti.vcproj @@ -30,7 +30,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_non_default_ctor.vcproj b/vc7ide/test_non_default_ctor.vcproj index 71761a4e..46c5174f 100644 --- a/vc7ide/test_non_default_ctor.vcproj +++ b/vc7ide/test_non_default_ctor.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_non_default_ctor2.vcproj b/vc7ide/test_non_default_ctor2.vcproj index 19529186..4eb791ee 100644 --- a/vc7ide/test_non_default_ctor2.vcproj +++ b/vc7ide/test_non_default_ctor2.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_non_intrusive.vcproj b/vc7ide/test_non_intrusive.vcproj index 346d635a..036495a6 100644 --- a/vc7ide/test_non_intrusive.vcproj +++ b/vc7ide/test_non_intrusive.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_null_ptr.vcproj b/vc7ide/test_null_ptr.vcproj index 66180bc6..484abc4e 100644 --- a/vc7ide/test_null_ptr.vcproj +++ b/vc7ide/test_null_ptr.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_nvp.vcproj b/vc7ide/test_nvp.vcproj index 50133955..2bd4e502 100644 --- a/vc7ide/test_nvp.vcproj +++ b/vc7ide/test_nvp.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_polymorphic.vcproj b/vc7ide/test_polymorphic.vcproj index bd613537..49002cef 100644 --- a/vc7ide/test_polymorphic.vcproj +++ b/vc7ide/test_polymorphic.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_private_ctor.vcproj b/vc7ide/test_private_ctor.vcproj index 52a415fa..a731a8d9 100644 --- a/vc7ide/test_private_ctor.vcproj +++ b/vc7ide/test_private_ctor.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_registered.vcproj b/vc7ide/test_registered.vcproj index de1c2e5b..4709aa48 100644 --- a/vc7ide/test_registered.vcproj +++ b/vc7ide/test_registered.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_reset_object_addr.vcproj b/vc7ide/test_reset_object_addr.vcproj index d6a779b9..f118c36b 100644 --- a/vc7ide/test_reset_object_addr.vcproj +++ b/vc7ide/test_reset_object_addr.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_set.vcproj b/vc7ide/test_set.vcproj index 01cbf7f5..8808a3c9 100644 --- a/vc7ide/test_set.vcproj +++ b/vc7ide/test_set.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> @@ -126,6 +126,9 @@ + + diff --git a/vc7ide/test_shared_ptr.vcproj b/vc7ide/test_shared_ptr.vcproj index 1cd674bb..8ff33667 100644 --- a/vc7ide/test_shared_ptr.vcproj +++ b/vc7ide/test_shared_ptr.vcproj @@ -18,6 +18,7 @@ ConfigurationType="1"> diff --git a/vc7ide/test_shared_ptr_132.vcproj b/vc7ide/test_shared_ptr_132.vcproj index 8570650a..84baec3f 100644 --- a/vc7ide/test_shared_ptr_132.vcproj +++ b/vc7ide/test_shared_ptr_132.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_shared_ptr_multi_base.vcproj b/vc7ide/test_shared_ptr_multi_base.vcproj index 6c8562af..787693a2 100644 --- a/vc7ide/test_shared_ptr_multi_base.vcproj +++ b/vc7ide/test_shared_ptr_multi_base.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_smart_cast.vcproj b/vc7ide/test_smart_cast.vcproj index 26f3afb1..682afd97 100644 --- a/vc7ide/test_smart_cast.vcproj +++ b/vc7ide/test_smart_cast.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_tracking.vcproj b/vc7ide/test_tracking.vcproj index 5ffcac1e..abd31769 100644 --- a/vc7ide/test_tracking.vcproj +++ b/vc7ide/test_tracking.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_unregistered.vcproj b/vc7ide/test_unregistered.vcproj index c6b80044..7c74591f 100644 --- a/vc7ide/test_unregistered.vcproj +++ b/vc7ide/test_unregistered.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_valarray.vcproj b/vc7ide/test_valarray.vcproj index a9413981..725cfd81 100644 --- a/vc7ide/test_valarray.vcproj +++ b/vc7ide/test_valarray.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_variant.vcproj b/vc7ide/test_variant.vcproj index 1dd23e04..827f8185 100644 --- a/vc7ide/test_variant.vcproj +++ b/vc7ide/test_variant.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/> diff --git a/vc7ide/test_vector.vcproj b/vc7ide/test_vector.vcproj index 3d91e852..3e788146 100644 --- a/vc7ide/test_vector.vcproj +++ b/vc7ide/test_vector.vcproj @@ -29,7 +29,7 @@ TreatWChar_tAsBuiltInType="TRUE" ForceConformanceInForLoopScope="TRUE" RuntimeTypeInfo="TRUE" - WarningLevel="3" + WarningLevel="4" Detect64BitPortabilityProblems="FALSE" DebugInformationFormat="1" CompileAs="0"/>