GNAT already emits a style warning when redundant parentheses appear inside
logical and short-circuit operators; this warning will be soon emitted for
unary operators as well.
Starting with glibc-2.17 the clock_* family of functions is included in
the libc itself and doesn't require librt. However, other real-time
functions like shm_open still require librt, so to decide whether librt
is needed we need to try with this other function, not clock_gettime.
When building florist on a Linux system with libaio installed, e.g.
on Debian with package libaio-dev, florist will be linked against
this library, even though it uses the aio_* routines provided by librt
and not the io_* routines provided by libaio.
This is similar to the recently fixed problem with irrelevant dependency
on libnsl.
There are two similar generic procedures in POSIX.Process_Environment:
* For_Every_Environment_Variable (Env : Environment)
* For_Every_Current_Environment_Variable
The one with explicit parameter adjusted the bounds of the Value string
that is passed to generic actual subprogram; now the one with implicit
parameter does the same adjustment.
Previous fix was incorrect, 'not' expression must keep its parentheses.
And fix extra paren in "<" function.
no-precommit-check (to avoid complains about copyright headers)
TN: W203-029
Change-Id: I8102f1c086d35c984eca7e50e1570a05a5f33f65
New warning has been enabled in the frontend. This change fixes one
new occurence of this new warning in debug build.
no-precommit-check (to avoid complains about copyright headers)
TN: W203-029
Change-Id: I0c5be7b9bebc2a6cd11c027831a5317c722ded19