]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Ada: fix documentation of pragma Unimplemented_Unit
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Jan 2025 07:46:06 +0000 (08:46 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Jan 2025 07:48:44 +0000 (08:48 +0100)
gcc/ada
PR ada/117936
* doc/gnat_rm/implementation_defined_pragmas.rst
(Unimplemented_Unit): Adjust the description of the error message.
* gnat_rm.texi: Regenerate.

gcc/ada/doc/gnat_rm/implementation_defined_pragmas.rst
gcc/ada/gnat_rm.texi

index 61ed40e78f48c43f1d3671f27bb0ee0690638699..768a2e659c285cb5f9b727673b01d2f2b7f06420 100644 (file)
@@ -7046,9 +7046,9 @@ Syntax:
 
 
 If this pragma occurs in a unit that is processed by the compiler, GNAT
-aborts with the message :samp:`xxx not implemented`, where
-``xxx`` is the name of the current compilation unit.  This pragma is
-intended to allow the compiler to handle unimplemented library units in
+aborts with the message :samp:`xxx is not supported in this configuration`,
+where ``xxx`` is the name of the current compilation unit.  This pragma
+is intended to allow the compiler to handle unimplemented library units in
 a clean manner.
 
 The abort only happens if code is being generated.  Thus you can use
index baf549e158f5177d5abeebe9937a3554709b0a71..8aceb6f62f996e53f98b5a7058ed64e27d910412 100644 (file)
@@ -8643,9 +8643,9 @@ pragma Unimplemented_Unit;
 @end example
 
 If this pragma occurs in a unit that is processed by the compiler, GNAT
-aborts with the message @code{xxx not implemented}, where
-@code{xxx} is the name of the current compilation unit.  This pragma is
-intended to allow the compiler to handle unimplemented library units in
+aborts with the message @code{xxx is not supported in this configuration},
+where @code{xxx} is the name of the current compilation unit.  This pragma
+is intended to allow the compiler to handle unimplemented library units in
 a clean manner.
 
 The abort only happens if code is being generated.  Thus you can use