X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=ab2b21de3709ebf29e67e5a1c1c3c3ca2369ca47;hb=4c5eaeb363736578fcd66f1dc6f83e7961d1b115;hp=ff907d83c90cfe0c63c6646d262173e6403f6f96;hpb=bb751d6c890f5c50c642366d601740366cfae8d0;p=stockfish 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 ////