From 3dc3a3bf81c8463d577c9f7e0845745056ffdadf Mon Sep 17 00:00:00 2001 From: Maxim Reznik Date: Tue, 5 Jul 2022 10:24:56 +0300 Subject: [PATCH] Fix templates_parser to work with GCC 12 (#563) Force `PRJ_BUILD` to `Release` to avoid `-gnatwe` and compilation issue: ``` templates_parser.adb:2093:55: warning: pragma Unreferenced given for "Next_Last" [enabled by default] ``` --- index/te/templates_parser/templates_parser-22.0.0.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/index/te/templates_parser/templates_parser-22.0.0.toml b/index/te/templates_parser/templates_parser-22.0.0.toml index 85adf2a7..dfd63dd0 100644 --- a/index/te/templates_parser/templates_parser-22.0.0.toml +++ b/index/te/templates_parser/templates_parser-22.0.0.toml @@ -23,6 +23,7 @@ TP_XMLADA = ["Installed", "Disabled"] [gpr-set-externals] TP_XMLADA = "Installed" +PRJ_BUILD = "Release" [environment] ADAFLAGS.set = "-gnaty-d" # Disable no DOS line terminators check