From: ronag Date: Sun, 27 Mar 2011 12:53:06 +0000 (+0000) Subject: 2.0.0.2: Increased warning level. X-Git-Tag: 2.0.1~661 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=a5d96f340299f70db6f026f700088dd67ee3b517;p=casparcg 2.0.0.2: Increased warning level. git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.0.0.2@580 362d55ac-95cf-4e76-9f9a-cbaa9c17b72d --- diff --git a/common/common.vcxproj b/common/common.vcxproj index 948986ae6..81f655871 100644 --- a/common/common.vcxproj +++ b/common/common.vcxproj @@ -91,7 +91,7 @@ Use - Level3 + Level4 Disabled TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;SFML_DYNAMIC;_DEBUG;_LIB;%(PreprocessorDefinitions) true @@ -113,7 +113,7 @@ - Level3 + Level4 Use MaxSpeed @@ -146,7 +146,7 @@ - Level3 + Level4 Use MaxSpeed @@ -177,7 +177,7 @@ - Level3 + Level4 Use Disabled diff --git a/common/compiler/vs/disable_silly_warnings.h b/common/compiler/vs/disable_silly_warnings.h index a65c3d11b..1c090161d 100644 --- a/common/compiler/vs/disable_silly_warnings.h +++ b/common/compiler/vs/disable_silly_warnings.h @@ -1,10 +1,12 @@ #pragma once #if defined(_MSC_VER) -#pragma warning (disable : 4482) // nonstandard extension used: enum 'enum' used in qualified name +#pragma warning (disable : 4100) // unreferenced formal parameter #pragma warning (disable : 4127) // conditional expression is constant -#pragma warning (disable : 4714) // marked as __forceinline not inlined -#pragma warning (disable : 4503) // decorated name length exceeded, name was truncated #pragma warning (disable : 4180) // qualifier applied to function type has no meaning; ignored +#pragma warning (disable : 4482) // nonstandard extension used: enum 'enum' used in qualified name +#pragma warning (disable : 4503) // decorated name length exceeded, name was truncated +#pragma warning (disable : 4512) // assignment operator could not be generated +#pragma warning (disable : 4714) // marked as __forceinline not inlined #endif diff --git a/core/core.vcxproj b/core/core.vcxproj index c3d862e0a..6cf3dd76c 100644 --- a/core/core.vcxproj +++ b/core/core.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -226,7 +226,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/mixer/mixer.vcxproj b/mixer/mixer.vcxproj index 59e625105..d516b1130 100644 --- a/mixer/mixer.vcxproj +++ b/mixer/mixer.vcxproj @@ -163,7 +163,7 @@ Use - Level3 + Level4 Disabled TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDebugDLL @@ -172,6 +172,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows @@ -181,7 +182,7 @@ - Level3 + Level4 Use MaxSpeed true @@ -195,6 +196,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows @@ -208,7 +210,7 @@ - Level3 + Level4 Use MaxSpeed true @@ -222,6 +224,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows @@ -233,7 +236,7 @@ - Level3 + Level4 Use Disabled true @@ -248,6 +251,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows diff --git a/modules/bluefish/bluefish.vcxproj b/modules/bluefish/bluefish.vcxproj index 9e6fe8d9c..151b084d7 100644 --- a/modules/bluefish/bluefish.vcxproj +++ b/modules/bluefish/bluefish.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue _CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -139,7 +139,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true _CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -179,7 +179,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true _CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -218,7 +218,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true _CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/decklink/decklink.vcxproj b/modules/decklink/decklink.vcxproj index a894d017e..5a7af2653 100644 --- a/modules/decklink/decklink.vcxproj +++ b/modules/decklink/decklink.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -202,7 +202,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/decklink/producer/decklink_producer.cpp b/modules/decklink/producer/decklink_producer.cpp index e3b9d6095..9e3cf4888 100644 --- a/modules/decklink/producer/decklink_producer.cpp +++ b/modules/decklink/producer/decklink_producer.cpp @@ -79,7 +79,6 @@ class decklink_input : public IDeckLinkInputCallback safe_ptr tail_; public: - decklink_input(const core::video_format_desc& format_desc, size_t device_index, const std::shared_ptr& frame_factory, const printer& parent_printer) : parent_printer_(parent_printer) , format_desc_(format_desc) diff --git a/modules/ffmpeg/ffmpeg.vcxproj b/modules/ffmpeg/ffmpeg.vcxproj index 4be2feb94..783e74f64 100644 --- a/modules/ffmpeg/ffmpeg.vcxproj +++ b/modules/ffmpeg/ffmpeg.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -226,7 +226,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/flash/flash.vcxproj b/modules/flash/flash.vcxproj index fb0dfe28e..c1ff49c86 100644 --- a/modules/flash/flash.vcxproj +++ b/modules/flash/flash.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -202,7 +202,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/image/image.vcxproj b/modules/image/image.vcxproj index 6144132af..2a04fc4fa 100644 --- a/modules/image/image.vcxproj +++ b/modules/image/image.vcxproj @@ -106,7 +106,7 @@ true NotUsing true - Level3 + Level4 EditAndContinue _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true NotUsing - Level3 + Level4 ProgramDatabase true _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true NotUsing - Level3 + Level4 ProgramDatabase true _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -202,7 +202,7 @@ StreamingSIMDExtensions2 true NotUsing - Level3 + Level4 ProgramDatabase true _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/oal/oal.vcxproj b/modules/oal/oal.vcxproj index e77a145a4..df312d689 100644 --- a/modules/oal/oal.vcxproj +++ b/modules/oal/oal.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -202,7 +202,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/ogl/ogl.vcxproj b/modules/ogl/ogl.vcxproj index ba60b5c59..813cb7acf 100644 --- a/modules/ogl/ogl.vcxproj +++ b/modules/ogl/ogl.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -194,7 +194,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -226,7 +226,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true _SCL_SECURE_NO_WARNINGS;TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/modules/silverlight/silverlight.vcxproj b/modules/silverlight/silverlight.vcxproj index e799b8011..c3600f6f8 100644 --- a/modules/silverlight/silverlight.vcxproj +++ b/modules/silverlight/silverlight.vcxproj @@ -106,7 +106,7 @@ true Use true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;%(PreprocessorDefinitions) true @@ -136,7 +136,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -170,7 +170,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -202,7 +202,7 @@ StreamingSIMDExtensions2 true Use - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) diff --git a/protocol/protocol.vcxproj b/protocol/protocol.vcxproj index 398019f99..4cba62a92 100644 --- a/protocol/protocol.vcxproj +++ b/protocol/protocol.vcxproj @@ -181,7 +181,7 @@ Use - Level1 + Level4 Disabled TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDebugDLL @@ -190,6 +190,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows @@ -199,7 +200,7 @@ - Level1 + Level4 Use MaxSpeed true @@ -213,6 +214,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows @@ -226,7 +228,7 @@ - Level1 + Level4 Use MaxSpeed true @@ -240,6 +242,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows @@ -251,7 +254,7 @@ - Level1 + Level4 Use Disabled true @@ -265,6 +268,7 @@ false Async common/compiler/vs/disable_silly_warnings.h + true Windows diff --git a/shell/caspar.config b/shell/caspar.config index ca35444b6..205558a1e 100644 --- a/shell/caspar.config +++ b/shell/caspar.config @@ -14,7 +14,7 @@ PAL - + + + 0 + uniform + true + + 1 false - --> + + + + + PAL + + + 0 + uniform + true + + diff --git a/shell/shell.vcxproj b/shell/shell.vcxproj index 374e4095f..2df076e38 100644 --- a/shell/shell.vcxproj +++ b/shell/shell.vcxproj @@ -170,7 +170,7 @@ true NotUsing true - Level3 + Level4 EditAndContinue TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;_DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true @@ -217,7 +217,7 @@ StreamingSIMDExtensions2 true NotUsing - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -271,7 +271,7 @@ StreamingSIMDExtensions2 true NotUsing - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_THREADING_TOOLS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions) @@ -325,7 +325,7 @@ StreamingSIMDExtensions2 true NotUsing - Level3 + Level4 ProgramDatabase true TBB_USE_CAPTURED_EXCEPTION=0;TBB_USE_ASSERT=1;TBB_USE_PERFORMANCE_WARNINGS=1;NDEBUG;_VC80_UPGRADE=0x0710;%(PreprocessorDefinitions)