summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-17 12:12:37 -0500
committermidipix <writeonce@midipix.org>2016-12-18 09:43:11 -0500
commit666e112e6a228c79e707664cdfe34e626cef9438 (patch)
treea2e30123271110819990b781534fce114de82c1e
parent1f59979ea1e0b7864fbb92f0b369eb9f7216dede (diff)
downloadpsxtypes-666e112e6a228c79e707664cdfe34e626cef9438.tar.bz2
psxtypes-666e112e6a228c79e707664cdfe34e626cef9438.tar.xz
visual studio support: allow non-constant aggregate initializers.
-rw-r--r--include/psxtypes/compiler/__nt_compiler_msvc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/psxtypes/compiler/__nt_compiler_msvc.h b/include/psxtypes/compiler/__nt_compiler_msvc.h
index 3296ad5..78aa71d 100644
--- a/include/psxtypes/compiler/__nt_compiler_msvc.h
+++ b/include/psxtypes/compiler/__nt_compiler_msvc.h
@@ -2,6 +2,7 @@
#define _PSXTYPES_NT_COMPILER_MSVC_H_
/* sigh */
+#pragma warning ( disable : 4204 ) /* non-constant aggregate initializer */
#pragma warning ( disable : 4054 ) /* cast funtion ptr to data ptr */
#pragma warning ( disable : 4055 ) /* cast data ptr to funtion ptr */
#pragma warning ( disable : 4127 ) /* constant expression comparisons */