[Ada] Export the Ada version through the C interface
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 16 Dec 2019 10:34:12 +0000 (10:34 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 16 Dec 2019 10:34:12 +0000 (10:34 +0000)
commit2f31b36248da8d0a895f2535d9c5e251b5e4595e
tree0b5e08c9819c91d5aa9a8222d59a36290a09ca72
parentba58b776c08cf4c1a7021e60f9ec1f70a8141b1e
[Ada] Export the Ada version through the C interface

2019-12-16  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* fe.h (Ada_Version_Type): New typedef.
(Ada_Version): Declare.
* opt.ads (Ada_Version_Type): Add Convention C and WARNING line.
(Ada_Version): Add WARNING line.
(Exception_Mechanism_Type): Likewise.

From-SVN: r279426
gcc/ada/ChangeLog
gcc/ada/fe.h
gcc/ada/opt.ads