All pastes #43201 Raw Edit

Anonymous

public text v1 · immutable
#43201 ·published 2006-02-26 06:18 UTC
rendered paste body
Index: libspandsp.vcproj
===================================================================
--- libspandsp.vcproj	(revision 12)
+++ libspandsp.vcproj	(working copy)
@@ -46,7 +46,7 @@
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="3"
 				UsePrecompiledHeader="0"
-				WarningLevel="3"
+				WarningLevel="4"
 				Detect64BitPortabilityProblems="true"
 				DebugInformationFormat="4"
 			/>
@@ -121,7 +121,7 @@
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBSPANDSP_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE"
 				RuntimeLibrary="2"
 				UsePrecompiledHeader="0"
-				WarningLevel="3"
+				WarningLevel="4"
 				Detect64BitPortabilityProblems="true"
 				DebugInformationFormat="3"
 			/>
Index: src/msvc/inttypes.h
===================================================================
--- src/msvc/inttypes.h	(revision 12)
+++ src/msvc/inttypes.h	(working copy)
@@ -43,7 +43,19 @@
 #define  INT16_MIN   (-INT16_MAX - 1) 
 #define _MMX_H_
 
-#pragma warning(disable: 4244 4305 4267 4018 4311 4313; once: 4057 4075)
+/* disable the following warnings 
+ * C4152: non standard extension, function/data ptr conversion in expression
+ * C4054: A function pointer is cast (possibly incorrectly) to a data pointer.
+ * C4100: The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored. 
+ * C4142: A type is redefined in a manner that has no effect on the generated code.
+ * C4200: Non standard extension C zero sized array
+ * C4204: nonstandard extension used : non-constant aggregate initializer 
+ * C4706: assignment within conditional expression
+ * C4305: initializing trucation
+ * C4244: Conversion, possible loss of data
+ * C4115:named type definition in parentheses
+ */
+#pragma warning(disable:4152 4054 4100 4142 4200 4204 4706 4305 4244 4115)
 
 #pragma comment(lib, "ws2_32.lib")
 #pragma comment(lib, "libtiff_i.lib")