summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-13 10:24:02 -0500
committermidipix <writeonce@midipix.org>2016-12-13 10:31:18 -0500
commitf29da709813eb29b6862fbfb5d0bbbd2521acce0 (patch)
treedb14385eb2bf18770913b0ce3bded4f15e31a8c2
parentecc2ff706522461325e597be72f52bfdee818e5a (diff)
downloadpsxtypes-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.h4
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__