]> git.sesse.net Git - stockfish/commitdiff
Disable a stupid and noisy MSVC warning
authorMarco Costalba <mcostalba@gmail.com>
Thu, 18 Sep 2008 09:29:26 +0000 (10:29 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 18 Sep 2008 10:27:09 +0000 (12:27 +0200)
Remove the crap from compiler messages.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.h

index ff907d83c90cfe0c63c6646d262173e6403f6f96..ab2b21de3709ebf29e67e5a1c1c3c3ca2369ca47 100644 (file)
 #if !defined(POSITION_H_INCLUDED)
 #define POSITION_H_INCLUDED
 
+// Disable a silly and noisy warning from MSVC compiler
+#if defined(_MSC_VER)
+
+// Forcing value to bool 'true' or 'false' (performance warning)
+#pragma warning(disable: 4800) \r
+\r
+#endif
+
 ////
 //// Includes
 ////