From 965022e5f62d393465e3c16a25aa3396b9bf7154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 28 Sep 2022 13:20:41 +0200 Subject: SCons: Silence MSVC C++17 deprecation warnings in Graphite Fixes #66497. --- modules/text_server_adv/SCsub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/text_server_adv/SCsub b/modules/text_server_adv/SCsub index 8d0245f0f6..847d8b7ee3 100644 --- a/modules/text_server_adv/SCsub +++ b/modules/text_server_adv/SCsub @@ -215,6 +215,9 @@ if env["builtin_graphite"] and freetype_enabled and env["graphite"]: ] ) + if env.msvc: # Not our business to fix. + env_graphite.Append(CCFLAGS=["-D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS"]) + lib = env_graphite.add_library("graphite_builtin", thirdparty_sources) thirdparty_obj += lib -- cgit v1.2.3