diff --git a/dtool/pptempl/Global.gmsvc.pp b/dtool/pptempl/Global.gmsvc.pp index 7cbc58e24c..329fa11e71 100644 --- a/dtool/pptempl/Global.gmsvc.pp +++ b/dtool/pptempl/Global.gmsvc.pp @@ -119,7 +119,7 @@ // '#defer extra_cflags $[extra_cflags] /STUFF' will never work because extra_cflags hasnt been // defined yet, so this just evaluates the reference to null and removes the reference and the // the defining extra_cflags in individual sources.pp's will not picked up. use END_FLAGS instead -#defer extra_cflags /EHsc /Zm400 /DWIN32_VC /DWIN32 $[WARNING_LEVEL_FLAG] $[END_CFLAGS] +#defer extra_cflags /EHsc /Zm500 /DWIN32_VC /DWIN32 $[WARNING_LEVEL_FLAG] $[END_CFLAGS] #defer DECYGWINED_INC_PATHLIST_ARGS $[decygwin %,/I"%",$[EXTRA_INCPATH] $[ipath] $[WIN32_PLATFORMSDK_INCPATH]] #defer MAIN_C_COMPILE_ARGS /nologo /c $[DECYGWINED_INC_PATHLIST_ARGS] $[flags] $[extra_cflags] "$[osfilename $[source]]" diff --git a/dtool/pptempl/Global.msvc.pp b/dtool/pptempl/Global.msvc.pp index 3dcc841ff6..9d78572e73 100644 --- a/dtool/pptempl/Global.msvc.pp +++ b/dtool/pptempl/Global.msvc.pp @@ -127,7 +127,7 @@ #define extra_defines FORCE_INLINING HAVE_DINKUM WIN32_VC WIN32 // Additional compiler flags. -#defer extra_cflags /EHsc /Zm400 $[WARNING_LEVEL_FLAG] $[END_CFLAGS] +#defer extra_cflags /EHsc /Zm500 $[WARNING_LEVEL_FLAG] $[END_CFLAGS] #defer interrogate_ipath $[decygwin %,-I"%",$[target_ipath]] #defer interrogate_spath $[decygwin %,-S"%",$[install_parser_inc_dir]]