From f29da709813eb29b6862fbfb5d0bbbd2521acce0 Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 13 2016 15:31:18 +0000 Subject: visual studio support: enable /Wall without harming actual human beings. --- diff --git a/include/psxtypes/compiler/__nt_compiler_msvc.h b/include/psxtypes/compiler/__nt_compiler_msvc.h index b3b3b8d..b872d53 100644 --- a/include/psxtypes/compiler/__nt_compiler_msvc.h +++ b/include/psxtypes/compiler/__nt_compiler_msvc.h @@ -1,6 +1,10 @@ #ifndef _PSXTYPES_NT_COMPILER_MSVC_H_ #define _PSXTYPES_NT_COMPILER_MSVC_H_ +/* sigh */ +#pragma warning ( disable : 4201 ) /* nameless struct member */ +#pragma warning ( disable : 4706 ) /* assignment within conditional */ +#pragma warning ( disable : 4820 ) /* struct member padding */ /* compiler identification */ #define __COMPILER__ __MSVC__