From 412e8051e51ee078946c8c3e5879c3ebab697d65 Mon Sep 17 00:00:00 2001 From: widberg Date: Sun, 4 Aug 2024 11:37:33 -0700 Subject: [PATCH] Add /GS- checkbox for MSVC --- backend/coreapp/flags.py | 1 + frontend/src/lib/i18n/locales/en/compilers.json | 1 + 2 files changed, 2 insertions(+) diff --git a/backend/coreapp/flags.py b/backend/coreapp/flags.py index dbcfebd8b..8df053a90 100644 --- a/backend/coreapp/flags.py +++ b/backend/coreapp/flags.py @@ -282,6 +282,7 @@ def to_json(self) -> Dict[str, Union[str, List[str]]]: Checkbox("msvc_use_rtti", "/GR"), Checkbox("msvc_use_ehsc", "/GX"), Checkbox("msvc_disable_stack_checking", "/Gs"), + Checkbox("msvc_disable_buffer_security_checks", "/GS-"), Checkbox("msvc_runtime_debug_checks", "/GZ"), Checkbox("msvc_cdecl", "/Gd"), Checkbox("msvc_fastcall", "/Gr"), diff --git a/frontend/src/lib/i18n/locales/en/compilers.json b/frontend/src/lib/i18n/locales/en/compilers.json index 16d5c82a9..1b4d5c8fc 100644 --- a/frontend/src/lib/i18n/locales/en/compilers.json +++ b/frontend/src/lib/i18n/locales/en/compilers.json @@ -367,6 +367,7 @@ "msvc_use_rtti": "enable C++ RTTI", "msvc_use_ehsc": "enable C++ EH", "msvc_disable_stack_checking": "disable stack checking calls", + "msvc_disable_buffer_security_checks": "disable buffer security checks", "msvc_runtime_debug_checks": "enable runtime debug checks", "msvc_cdecl": "__cdecl calling convention", "msvc_fastcall": "__fastcall calling convention",