New warning has been enabled in the frontend. This change fixes the 4
new occurences of this new warning.
no-precommit-check (to avoid complains about copyright headers)
TN: W203-029
Change-Id: I5d36920109557a6337e8db7d6eaacc6a70bccc3a
Change uses of Unchecked_Conversion (which is obsolete since Ada 95) to
Ada.Unchecked_Conversion to avoid warnings recently enabled in GNAT. Same
for Unchecked_Deallocation.
Previous patch only changed files used for production build; this patch
changes files used for debug builds (and also for gnatsocks, for
completeness).
no-precommit-check (to avoid complains about copyright headers)
Change-Id: I0a753b06a46ce56778b8de9c96607515bea7cf84
Change uses of Unchecked_Conversion (which is obsolete since Ada 95) to
Ada.Unchecked_Conversion to avoid warnings recently enabled in GNAT.
no-precommit-check (to avoid complains about copyright headers)
TN: V209-051
Change-Id: I62d8385a92eb200c0434d440df02712c28554d2b
This fixes the following warnings:
warning: unnecessary with of ancestor [-gnatwr]
_gprbuild: *** compilation phase failed
no-precommit-check
TN: S506-002
Change-Id: I206849c43821380eed71a32688335a993ee5d76a
Remove unnecessary "with POSIX", which the compiler now
warns about.
no-precommit-check
TN: UB17-024
Change-Id: I117c0f72947b5bfbf72f58c212d1da9a3abc4be7
The SIGRTMIN constant was hardcoded to the SIGRTMIN C macro value at
compilation time. Unfortunately this is wrong as it can change at
runtime according to the manual.
Excerpt from bits/signum.h:
"#define SIGRTMIN (__libc_current_sigrtmin ())"
So drop the SIGRTMIN constant for a C function wrapper
(__gnat_florist_sigrtmin) which calls the SIGRTMIN macro in the C land.
no-precommit-check
TN: S217-004