From b37bab4eb3fd1590a2588e31446b929feda73504 Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 26 Dec 2025 15:08:48 -0300 Subject: [PATCH 1/2] Editorial change: remove deprecated command-line switches --- .../courses/whats-new-in-ada-2022/chapters/introduction.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/content/courses/whats-new-in-ada-2022/chapters/introduction.rst b/content/courses/whats-new-in-ada-2022/chapters/introduction.rst index a40e084be..3ac0e641c 100644 --- a/content/courses/whats-new-in-ada-2022/chapters/introduction.rst +++ b/content/courses/whats-new-in-ada-2022/chapters/introduction.rst @@ -10,10 +10,7 @@ in GNAT Ada compiler. To use some of these features, you may need to use a compiler command line switch or pragma. Compilers starting with `GNAT Community Edition 2021`_ or `GCC 11`_ use :ada:`pragma Ada_2022;` or the ``-gnat2022`` -switch. Older compilers use :ada:`pragma Ada_2020;` or -``-gnat2020``. To use the square brackets syntax or :ada:`'Reduce` -expressions, you need :ada:`pragma Extensions_Allowed (On);` or the -``-gnatX`` switch. +switch. References ---------- From 6a7be345fbf0b851076bcab0f1a20c34fee8e126 Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 26 Dec 2025 15:09:01 -0300 Subject: [PATCH 2/2] Editorial change: remove older links --- content/courses/whats-new-in-ada-2022/chapters/introduction.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/courses/whats-new-in-ada-2022/chapters/introduction.rst b/content/courses/whats-new-in-ada-2022/chapters/introduction.rst index 3ac0e641c..2358d6297 100644 --- a/content/courses/whats-new-in-ada-2022/chapters/introduction.rst +++ b/content/courses/whats-new-in-ada-2022/chapters/introduction.rst @@ -16,8 +16,6 @@ References ---------- * Draft :aarm22:`Ada 2022 Standard ` -* `Ada 202x support in GNAT`_ blog post .. _`GNAT Community Edition 2021`: https://blog.adacore.com/gnat-community-2021-is-here .. _`GCC 11`: https://gcc.gnu.org/gcc-11/ -.. _`Ada 202x support in GNAT`: https://blog.adacore.com/ada-202x-support-in-gnat