Re: [PATCH] Fix compile error in configure script

2024-05-20 Thread Edgar Bonet
oting. Also, there is > no mention of Clang behaviour. Please see below. > > # HG changeset patch > # User Edgar Bonet > # Date 1715850910 -7200 > # Thu May 16 11:15:10 2024 +0200 > # Node ID 8d35d9cfef17f350f750049940e22d1d61d55a6a > # Parent 5a5c01ec6f58d413e9867ac

Re: [PATCH] Fix compile error in configure script

2024-05-18 Thread Edgar Bonet
Hello! Yesterday, I wrote: > My understanding is that the compiler considers 'int' and 'long' to be > incompatible types [... On ILP32,] 'size_t' being an 'unsigned int', > it is incompatible with 'long'. > > On LP64 (your typical 64-bit Linux/Mac), 'size_t' is a 'unsigned > long', which is

Re: [PATCH] Fix compile error in configure script

2024-05-17 Thread Edgar Bonet
Hello! Sergey Kandaurov wrote: > > objs/autotest.c:9:48: error: passing argument 1 > > of 'AO_compare_and_swap' from incompatible pointer type > > [-Wincompatible-pointer-types] > > Where did you try to build? I experienced this when building for arm and i686, both cross-compiled from x86_64.

[PATCH] Fix compile error in configure script

2024-05-16 Thread Edgar Bonet
# HG changeset patch # User Edgar Bonet # Date 1715850910 -7200 # Thu May 16 11:15:10 2024 +0200 # Node ID c2c3b0d74b1a7d3f967421c72760b5c573afcd81 # Parent 89093b003fcb54c7f8dc66042f17bc4dea4e7709 Fix compile error in configure script Building with GCC 14 fails at the configure step