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;