mirror of
https://github.com/sockspls/badfish
synced 2025-05-03 18:19:35 +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)
|
#if !defined(POSITION_H_INCLUDED)
|
||||||
#define 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
|
//// Includes
|
||||||
////
|
////
|
||||||
|
|
Loading…
Add table
Reference in a new issue