Commit 1c50b40e54 for perl
commit 1c50b40e54632d1db9b0a718a4808ac2b5d7e4f3
Author: Yves Orton <demerphq@gmail.com>
Date: Sat Nov 14 14:46:32 2026 +0100
Configure: fix a format warning in the long double size probe
With -Werror the format warning makes this probe fail, so Configure
guesses the wrong size. Cast sizeof(long double) to int to match %d.
diff --git a/Configure b/Configure
index 6f69c7e3b5..ce1d27a300 100755
--- a/Configure
+++ b/Configure
@@ -6937,7 +6937,7 @@ $define)
#include <stdio.h>
int main()
{
- printf("%d\n", sizeof(long double));
+ printf("%d\n", (int)sizeof(long double));
}
EOCP
set try