add pragma to disable annoying MSVC warning C4800

This commit is contained in:
Josh Coalson
2004-07-23 05:11:06 +00:00
parent e44501d557
commit 3cb83414a9
4 changed files with 25 additions and 0 deletions

View File

@@ -34,6 +34,11 @@
#include <stdlib.h> // for malloc(), free()
#include <string.h> // for memcpy() etc.
#ifdef _MSC_VER
// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
#pragma warning ( disable : 4800 )
#endif
namespace FLAC {
namespace Metadata {