641 Commits

Author SHA1 Message Date
Piotr Trojanek
8d9a67e323 Merge branch 'topic/constant_slice_overlay' into 'master'
Remove excessive constant qualifier on overlayed slice

See merge request eng/toolchain/florist!13
2025-11-26 12:55:26 +01:00
Piotr Trojanek
5fdae93f53 Remove excessive constant qualifier on overlayed slice
The constant qualifiers on overlays, while perfectly safe and reasonable here,
cause spurious warnings from GNAT.
2025-11-26 12:42:00 +01:00
Piotr Trojanek
227020a983 Merge branch 'topic/unary_parens' into 'master'
Remove redundant parentheses inside unary operators

See merge request eng/toolchain/florist!12
2025-01-08 13:58:40 +00:00
Piotr Trojanek
ce3007c68b Remove redundant parentheses inside unary operators
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.
2025-01-08 11:48:34 +01:00
Piotr Trojanek
e6f0904611 Merge branch 'topic/librt' into 'master'
Adapt conditional linking with librt

See merge request eng/toolchain/florist!9
2024-11-08 09:48:44 +00:00
Piotr Trojanek
a65a3718c1 Adapt conditional linking with librt
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.
2024-11-05 16:32:34 +01:00
Piotr Trojanek
8ff38b7b46 Merge branch 'configure-cleanups' into 'master'
Remove trailing whitespace from text files

See merge request eng/toolchain/florist!6
2024-05-23 08:01:07 +00:00
Piotr Trojanek
7cde4f10dd Remove unreferenced autoconf macro
The AC_POSIX_LIBS relied on AC_POSIX_LIB, which has been removed as
part of the build system overhaul.
2024-05-23 08:00:58 +00:00
Piotr Trojanek
a5b4ef4b34 Fix inconsistent whitespace 2024-05-23 08:00:58 +00:00
Piotr Trojanek
e3c01123c5 Remove trailing whitespace from text files
Trailing whitespace automatically filtered with:

$ find . -type f -not -path '*/.*' -print0 | \
  xargs -0 sed -i 's/[ \t]*$//'
2024-05-23 08:00:58 +00:00
Piotr Trojanek
20c9853214 Merge branch 'configure-libaio' into 'master'
Remove irrelevant dependency on libaio

See merge request eng/toolchain/florist!8
2024-05-10 09:11:35 +00:00
Piotr Trojanek
8948f43b1c Remove irrelevant dependency on libaio
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.
2024-05-08 10:57:47 +02:00
Tonu Naks
d8fca51b70 Merge branch 'topic/autoconf-2.72' into 'master'
Upgrade configure.ac to autoconf 2.72

See merge request eng/toolchain/florist!5
2024-05-06 11:40:49 +00:00
Tonu Naks
9f88a73ba3 Upgrade configure.ac to autoconf 2.72
eng/toolchain/florist#4
2024-05-02 09:19:35 +00:00
Tonu Naks
e9755eb1ee Merge branch 'topic/conf-upgrade' into 'master'
Upgrade configure.in and aclocal.m4

See merge request eng/toolchain/florist!4
2024-04-30 15:56:08 +00:00
Tonu Naks
386ebf2922 Upgrade configure.in and aclocal.m4
* fix syntax errors in aclocal that prevent running autoupdate
* run autoupdate on aclocal.m4 and configure.in
* regenerate configure
2024-04-30 14:18:12 +00:00
Tonu Naks
e0d6e2d215 Remove irrelevant dependency on libnsl 2024-04-23 11:56:22 +00:00
Piotr Trojanek
c6e47f0dbe Merge branch 'adjust_parameter_bound' into 'master'
Simplify conversion to POSIX_String with array overlay

See merge request eng/toolchain/florist!2
2024-01-19 09:01:27 +00:00
Piotr Trojanek
8cce0dfff2 Simplify conversion to POSIX_String with array overlay
Code cleanup; semantics is unaffected.
2024-01-18 11:21:45 +01:00
Piotr Trojanek
a7e7d41134 Merge branch 'adjust_parameter_bound' into 'master'
Adjust parameter of For_Every_Environment_Variable to start at 1

See merge request eng/toolchain/florist!1
2024-01-12 16:44:50 +00:00
Piotr Trojanek
3b96faf3a5 Use overlay to avoid copying values of the environment variables
Use overlays as documented in GNAT RM 9.15, Address Clauses. This is
a tiny performance improvement.
2024-01-11 16:59:51 +01:00
Piotr Trojanek
b6f9c2c2c6 Adjust parameter of For_Every_Environment_Variable to start at 1
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.
2024-01-11 15:36:51 +01:00
Piotr Trojanek
08c5539730 Remove Gerrit configuration 2024-01-11 15:14:35 +01:00
Marc Poulhiès
8ab2d57e98 Fix (again) warning about redundant parenthesis
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
2023-03-02 17:00:46 +01:00
Marc Poulhiès
c90a5bd7a3 Fix warning about redundant parenthesis
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
2023-03-01 17:17:34 +01:00