From 4d42dff642412559827951afad8c913783971edc Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 13 Dec 2016 20:51:58 -0500 Subject: visual studio support: accept arr[] as the last struct element. --- 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 b872d53..f7015ca 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 : 4200 ) /* adjust to the 21st century */ #pragma warning ( disable : 4201 ) /* nameless struct member */ #pragma warning ( disable : 4706 ) /* assignment within conditional */ #pragma warning ( disable : 4820 ) /* struct member padding */ -- cgit v1.2.3