mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Disable a stupid and noisy MSVC warning
Remove the crap from compiler messages. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
925f97f4e7
commit
4c5eaeb363
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
////
|
||||
|
|
Loading…
Add table
Reference in a new issue