projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
925f97f
)
Disable a stupid and noisy MSVC warning
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 18 Sep 2008 09:29:26 +0000 (10:29 +0100)
committer
Marco 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
patch
|
blob
|
history
diff --git
a/src/position.h
b/src/position.h
index
ff907d8
..
ab2b21d
100644
(file)
--- 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)
\r
+
\r
+#endif
+
////
//// Includes
////