From 741a50116a5e33ebae9a4aff9f732b9ed96a4ede Mon Sep 17 00:00:00 2001 From: Vadim Godunko Date: Sat, 9 Dec 2023 20:15:26 +0400 Subject: [PATCH] Switch to use Ada 2022. --- gnat/tools/json_schema.gpr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnat/tools/json_schema.gpr b/gnat/tools/json_schema.gpr index 22ff424d..e600cf44 100644 --- a/gnat/tools/json_schema.gpr +++ b/gnat/tools/json_schema.gpr @@ -16,7 +16,10 @@ project JSON_Schema is ("../../tools/json_schema"); for Main use ("json_schema-driver.adb"); - package Compiler renames VSS_Common.Compiler; + package Compiler is + for Switches ("Ada") use + VSS_Common.Ada_Compiler_Switches & "-gnat2022"; + end Compiler; package Linker renames VSS_Common.Linker;