Re: [PATCH v2] lib/posixtm.c: Fixe build error with clang-18

2024-01-16 Thread Khem Raj
On Tue, Jan 16, 2024 at 5:25 PM Paul Eggert wrote: > > Thanks, I installed the attached simpler (1-byte!) fix. Please give it a > try, as I lack easy access to clang 18. Ah cool!. This works for me too.

Re: [PATCH v2] lib/posixtm.c: Fixe build error with clang-18

2024-01-16 Thread Paul Eggert
Thanks, I installed the attached simpler (1-byte!) fix. Please give it a try, as I lack easy access to clang 18.From 67c298c36f69b6906840b7584be06b7b5f33f829 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 16 Jan 2024 17:21:08 -0800 Subject: [PATCH] posixtm: pacify clang 18 MIME-Version: 1.

[PATCH v2] lib/posixtm.c: Fixe build error with clang-18

2024-01-16 Thread Khem Raj
Clang-18 detects this and flags it as error x86_64-yoe-linux-clang -target x86_64-yoe-linux -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-secur