From: Marco Costalba Date: Thu, 18 Sep 2008 09:29:26 +0000 (+0100) Subject: Disable a stupid and noisy MSVC warning X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=4c5eaeb363736578fcd66f1dc6f83e7961d1b115 Disable a stupid and noisy MSVC warning Remove the crap from compiler messages. Signed-off-by: Marco Costalba --- diff --git a/src/position.h b/src/position.h index ff907d83..ab2b21de 100644 --- a/src/position.h +++ b/src/position.h @@ -20,6 +20,14 @@ #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) + +#endif + //// //// Includes ////