Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 <TTL>`
* `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
Loading