.. index:: Atomic Synchronization, warnings
:switch:`-gnatw.n`
- *Activate info messages on atomic synchronization.*
+ *Activate warnings on atomic synchronization.*
- This switch activates info messages when an access to an atomic variable
+ This switch activates warnings when an access to an atomic variable
requires the generation of atomic synchronization code. These
- info messages are off by default.
+ warnings are off by default.
.. index:: -gnatw.N (gcc)
:switch:`-gnatw.N`
- *Suppress info messages on atomic synchronization.*
+ *Suppress warnings on atomic synchronization.*
.. index:: Atomic Synchronization, warnings
- This switch suppresses info messages when an access to an atomic variable
+ This switch suppresses warnings when an access to an atomic variable
requires the generation of atomic synchronization code.
.. _Debugging_and_Assertion_Control:
+
+
Info message Control
--------------------
if Present (Msg_Node) then
Error_Msg_N
- ("info: atomic synchronization set for &?.n?", Msg_Node);
+ ("atomic synchronization set for &?.n?", Msg_Node);
else
Error_Msg_N
- ("info: atomic synchronization set?.n?", N);
+ ("atomic synchronization set?.n?", N);
end if;
end if;
end Activate_Atomic_Synchronization;
@item @code{-gnatw.n}
-`Activate info messages on atomic synchronization.'
+`Activate warnings on atomic synchronization.'
-This switch activates info messages when an access to an atomic variable
+This switch activates warnings when an access to an atomic variable
requires the generation of atomic synchronization code. These
-info messages are off by default.
+warnings are off by default.
@end table
@geindex -gnatw.N (gcc)
@item @code{-gnatw.N}
-`Suppress info messages on atomic synchronization.'
+`Suppress warnings on atomic synchronization.'
@geindex Atomic Synchronization
@geindex warnings
-This switch suppresses info messages when an access to an atomic variable
+This switch suppresses warnings when an access to an atomic variable
requires the generation of atomic synchronization code.
@end table