diff options
author | midipix <writeonce@midipix.org> | 2016-12-13 10:24:02 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-13 10:31:18 -0500 |
commit | f29da709813eb29b6862fbfb5d0bbbd2521acce0 (patch) | |
tree | db14385eb2bf18770913b0ce3bded4f15e31a8c2 | |
parent | ecc2ff706522461325e597be72f52bfdee818e5a (diff) | |
download | psxtypes-f29da709813eb29b6862fbfb5d0bbbd2521acce0.tar.bz2 psxtypes-f29da709813eb29b6862fbfb5d0bbbd2521acce0.tar.xz |
visual studio support: enable /Wall without harming actual human beings.
-rw-r--r-- | include/psxtypes/compiler/__nt_compiler_msvc.h | 4 |
1 files changed, 4 insertions, 0 deletions
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__ |