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..2358d6297 100644 --- a/content/courses/whats-new-in-ada-2022/chapters/introduction.rst +++ b/content/courses/whats-new-in-ada-2022/chapters/introduction.rst @@ -10,17 +10,12 @@ 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 ---------- * 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