# 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 with:
> On 16 May 2024, at 13:25, Edgar Bonet wrote:
>
> # 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 configu
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. Bu
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 compat
On Sat, May 18, 2024 at 02:43:52PM +0200, Edgar Bonet wrote:
> 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 (you
Hello!
On 2024-05-20, Sergey Kandaurov wrote:
> Concerning type compatibility, C11 gives a definition on what types
> are compatible. [...]
Thank-you for sharing these findings!
> I like the patch, but would like to adjust the commit log:
> there some styles issues and over-quoting. Also, there