diff --git a/src/libFLAC++/file_decoder.cpp b/src/libFLAC++/file_decoder.cpp index 494109da..b991f5a1 100644 --- a/src/libFLAC++/file_decoder.cpp +++ b/src/libFLAC++/file_decoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libFLAC++/file_encoder.cpp b/src/libFLAC++/file_encoder.cpp index ec93a61f..7aaccd11 100644 --- a/src/libFLAC++/file_encoder.cpp +++ b/src/libFLAC++/file_encoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libFLAC++/seekable_stream_decoder.cpp b/src/libFLAC++/seekable_stream_decoder.cpp index d3b0b437..af73c3f8 100644 --- a/src/libFLAC++/seekable_stream_decoder.cpp +++ b/src/libFLAC++/seekable_stream_decoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libFLAC++/seekable_stream_encoder.cpp b/src/libFLAC++/seekable_stream_encoder.cpp index 926e4c9d..d2a090ee 100644 --- a/src/libFLAC++/seekable_stream_encoder.cpp +++ b/src/libFLAC++/seekable_stream_encoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libFLAC++/stream_decoder.cpp b/src/libFLAC++/stream_decoder.cpp index 30a5d400..0f14514a 100644 --- a/src/libFLAC++/stream_decoder.cpp +++ b/src/libFLAC++/stream_decoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libFLAC++/stream_encoder.cpp b/src/libFLAC++/stream_encoder.cpp index ff9cf30c..7d12c9c0 100644 --- a/src/libFLAC++/stream_encoder.cpp +++ b/src/libFLAC++/stream_encoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libOggFLAC++/file_decoder.cpp b/src/libOggFLAC++/file_decoder.cpp index 678908e7..19e1b5f4 100644 --- a/src/libOggFLAC++/file_decoder.cpp +++ b/src/libOggFLAC++/file_decoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libOggFLAC++/file_encoder.cpp b/src/libOggFLAC++/file_encoder.cpp index 74fe683a..cd575b71 100644 --- a/src/libOggFLAC++/file_encoder.cpp +++ b/src/libOggFLAC++/file_encoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libOggFLAC++/seekable_stream_decoder.cpp b/src/libOggFLAC++/seekable_stream_decoder.cpp index 5d952aa8..e27d8955 100644 --- a/src/libOggFLAC++/seekable_stream_decoder.cpp +++ b/src/libOggFLAC++/seekable_stream_decoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libOggFLAC++/seekable_stream_encoder.cpp b/src/libOggFLAC++/seekable_stream_encoder.cpp index 2b6b8b09..39304885 100644 --- a/src/libOggFLAC++/seekable_stream_encoder.cpp +++ b/src/libOggFLAC++/seekable_stream_encoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libOggFLAC++/stream_decoder.cpp b/src/libOggFLAC++/stream_decoder.cpp index 2f3adb6c..ab88da7e 100644 --- a/src/libOggFLAC++/stream_decoder.cpp +++ b/src/libOggFLAC++/stream_decoder.cpp @@ -32,6 +32,11 @@ #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 { diff --git a/src/libOggFLAC++/stream_encoder.cpp b/src/libOggFLAC++/stream_encoder.cpp index 6c8a9e05..4766343e 100644 --- a/src/libOggFLAC++/stream_encoder.cpp +++ b/src/libOggFLAC++/stream_encoder.cpp @@ -32,6 +32,11 @@ #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 {