#pragma to turn off useless MSVC warning C4800
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 18 Dec 2003 05:16:44 +0000 (05:16 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 18 Dec 2003 05:16:44 +0000 (05:16 +0000)
12 files changed:
src/libFLAC++/file_decoder.cpp
src/libFLAC++/file_encoder.cpp
src/libFLAC++/seekable_stream_decoder.cpp
src/libFLAC++/seekable_stream_encoder.cpp
src/libFLAC++/stream_decoder.cpp
src/libFLAC++/stream_encoder.cpp
src/libOggFLAC++/file_decoder.cpp
src/libOggFLAC++/file_encoder.cpp
src/libOggFLAC++/seekable_stream_decoder.cpp
src/libOggFLAC++/seekable_stream_encoder.cpp
src/libOggFLAC++/stream_decoder.cpp
src/libOggFLAC++/stream_encoder.cpp

index 494109d..b991f5a 100644 (file)
 #include "FLAC++/decoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace FLAC {
        namespace Decoder {
 
index ec93a61..7aaccd1 100644 (file)
 #include "FLAC++/encoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace FLAC {
        namespace Encoder {
 
index d3b0b43..af73c3f 100644 (file)
 #include "FLAC++/decoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace FLAC {
        namespace Decoder {
 
index 926e4c9..d2a090e 100644 (file)
 #include "FLAC++/encoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace FLAC {
        namespace Encoder {
 
index 30a5d40..0f14514 100644 (file)
 #include "FLAC++/decoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace FLAC {
        namespace Decoder {
 
index ff9cf30..7d12c9c 100644 (file)
 #include "FLAC++/encoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace FLAC {
        namespace Encoder {
 
index 678908e..19e1b5f 100644 (file)
 #include "OggFLAC++/decoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace OggFLAC {
        namespace Decoder {
 
index 74fe683..cd575b7 100644 (file)
 #include "OggFLAC++/encoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace OggFLAC {
        namespace Encoder {
 
index 5d952aa..e27d895 100644 (file)
 #include "OggFLAC++/decoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace OggFLAC {
        namespace Decoder {
 
index 2b6b8b0..3930488 100644 (file)
 #include "OggFLAC++/encoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace OggFLAC {
        namespace Encoder {
 
index 2f3adb6..ab88da7 100644 (file)
 #include "OggFLAC++/decoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace OggFLAC {
        namespace Decoder {
 
index 6c8a9e0..4766343 100644 (file)
 #include "OggFLAC++/encoder.h"
 #include "FLAC/assert.h"
 
+#ifdef _MSC_VER
+// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
+#pragma warning ( disable : 4800 )
+#endif
+
 namespace OggFLAC {
        namespace Encoder {