From 666e112e6a228c79e707664cdfe34e626cef9438 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 17 Dec 2016 12:12:37 -0500 Subject: visual studio support: allow non-constant aggregate initializers. --- include/psxtypes/compiler/__nt_compiler_msvc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3