Thomas Haller
5525672a5f
build: avoid "-Werror=format-extra-args" warnings in detecting printf for gnulib
Otherwise, `CFLAGS='-Wall -Werror' meson build` fails detection with:
Running compile:
Working directory: /data/src/glib/build/meson-private/tmpoozk2y4b
Code:
#include <stdio.h>
#include <string.h>
static char buf[100];
static double zero = 0.0;
int main ()
{
if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0
|| (strcmp (buf, " inf") != 0
&& strcmp (buf, " infinity") != 0))
return 1;
return 0;
}
-----------
Command line: `cc /data/src/glib/build/meson-private/tmpoozk2y4b/testfile.c -o /data/src/glib/build/meson-private/tmpoozk2y4b/output.exe -Werror -Wall -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99` -> 1
stderr:
/data/src/glib/build/meson-private/tmpoozk2y4b/testfile.c: In function 'main':
/data/src/glib/build/meson-private/tmpoozk2y4b/testfile.c:8:21: error: too many arguments for format [-Werror=format-extra-args]
8 | if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0
| ^~~~~~~
cc1: all warnings being treated as errors
-----------
Could not compile test file /data/src/glib/build/meson-private/tmpoozk2y4b/testfile.c: 1
Checking if "printf supports the zero flag correctly" runs: DID NOT COMPILE
2024-02-07 20:40:59 +01:00
..
2024-01-15 12:39:36 +00:00
2024-02-07 20:40:59 +01:00
2024-02-02 19:56:26 +01:00
2024-01-09 08:55:32 -08:00
2023-10-11 14:01:28 +01:00
2024-02-05 18:09:59 +01:00
2023-11-29 11:59:47 +00:00
2023-11-28 13:52:05 +00:00
2023-10-10 08:30:46 -07:00
2023-03-23 14:11:36 +00:00
2023-11-28 13:52:05 +00:00
2024-01-16 12:50:31 +01:00
2024-01-16 12:50:31 +01:00
2023-10-11 17:38:30 +01:00
2023-10-11 17:38:30 +01:00
2023-05-16 11:27:45 +01:00
2023-10-04 13:57:16 +01:00
2023-11-02 16:30:23 +00:00
2023-11-02 16:30:23 +00:00
2023-10-03 10:00:44 +00:00
2023-10-03 10:26:10 +02:00
2024-01-22 15:39:33 +00:00
2024-02-05 16:49:10 +01:00
2024-01-31 17:30:28 +01:00
2023-11-28 19:32:03 +00:00
2023-10-11 17:38:31 +01:00
2023-11-28 23:14:40 +00:00
2023-11-28 23:13:27 +00:00
2024-01-15 14:18:40 +00:00
2023-12-20 07:48:10 -05:00
2023-11-23 12:34:39 +00:00
2023-11-23 12:34:39 +00:00
2023-10-17 22:59:27 +01:00
2023-12-14 01:26:42 +00:00
2023-11-28 13:52:05 +00:00
2023-10-11 14:01:29 +01:00
2023-12-04 09:53:35 +00:00
2023-11-15 11:09:39 +00:00
2023-11-15 11:09:39 +00:00
2023-11-29 11:59:47 +00:00
2023-11-28 13:52:05 +00:00
2023-11-15 11:09:39 +00:00
2023-05-18 11:26:33 +02:00
2023-10-12 11:44:48 +02:00
2023-10-23 10:25:31 +01:00
2023-09-04 11:29:57 +00:00
2023-07-21 18:40:13 +01:00
2023-10-23 10:25:30 +01:00
2023-10-03 10:26:10 +02:00
2024-01-31 16:51:50 +00:00
2024-01-31 16:51:50 +00:00
2023-11-28 13:52:05 +00:00
2023-10-09 22:18:18 +01:00
2023-03-23 14:11:36 +00:00
2023-02-09 13:36:51 +00:00
2023-07-21 18:40:13 +01:00
2023-05-30 13:45:05 +01:00
2023-11-29 11:59:47 +00:00
2023-10-27 17:19:08 +02:00
2023-11-06 15:05:43 +00:00
2023-05-10 10:56:44 +07:00
2023-02-21 12:42:55 +00:00
2023-11-29 12:03:15 +00:00
2023-11-28 13:52:05 +00:00
2023-05-30 13:45:05 +01:00
2024-01-19 19:04:04 +02:00
2024-01-05 21:39:25 +01:00
2023-11-29 11:59:47 +00:00
2023-11-21 12:55:55 +00:00
2023-08-21 11:34:27 +01:00
2023-10-11 17:38:31 +01:00
2023-10-11 17:38:31 +01:00
2023-10-23 10:25:31 +01:00
2024-01-25 11:19:23 +00:00
2023-11-29 11:59:47 +00:00
2023-11-28 13:52:05 +00:00
2023-11-29 11:59:47 +00:00
2023-11-28 13:52:05 +00:00
2023-10-11 14:01:28 +01:00
2023-10-11 14:01:28 +01:00
2023-04-24 12:48:32 +01:00
2023-10-11 17:38:30 +01:00
2023-12-18 11:23:56 +00:00
2023-10-11 17:38:31 +01:00
2023-11-29 11:59:47 +00:00
2023-10-17 22:59:27 +01:00
2023-11-29 11:59:47 +00:00
2023-11-28 13:52:05 +00:00
2023-10-11 14:01:29 +01:00
2023-11-29 11:59:47 +00:00
2023-04-14 17:15:28 +01:00
2023-11-28 13:52:05 +00:00
2023-01-09 14:12:16 +01:00
2023-05-31 16:34:16 +01:00
2023-11-23 12:34:39 +00:00
2024-01-25 20:11:48 +01:00
2024-01-25 12:16:57 +00:00
2023-11-27 12:20:50 +00:00
2023-05-16 11:27:45 +01:00
2023-10-23 10:25:31 +01:00
2023-10-15 15:45:58 +02:00
2023-10-15 15:45:58 +02:00
2023-08-16 14:31:40 +01:00
2024-02-06 11:05:13 +00:00
2023-11-23 12:18:21 +00:00
2023-07-21 17:12:01 +01:00
2023-10-04 08:19:57 +00:00
2024-01-17 08:57:12 -05:00
2024-01-17 08:57:12 -05:00
2023-10-23 10:25:31 +01:00
2023-09-01 23:49:25 -07:00
2023-10-11 17:38:31 +01:00
2023-10-23 10:25:31 +01:00
2023-11-28 13:52:05 +00:00
2023-11-28 13:52:05 +00:00
2023-11-29 11:59:47 +00:00
2023-05-10 10:56:44 +07:00
2023-10-17 22:59:27 +01:00
2023-10-17 22:59:27 +01:00
2023-10-17 22:45:55 +01:00
2023-11-26 22:41:26 +00:00
2023-10-17 22:59:27 +01:00
2023-10-11 17:38:31 +01:00
2023-10-17 22:59:27 +01:00
2023-09-11 22:50:05 -07:00
2023-11-28 13:52:05 +00:00
2023-05-25 00:36:56 +02:00
2023-11-28 13:52:05 +00:00
2023-11-08 16:36:14 +01:00
2023-11-28 13:52:05 +00:00
2024-01-16 11:04:44 +00:00
2024-01-15 14:39:46 +00:00
2024-01-15 14:43:53 +00:00
2023-02-10 18:22:20 +00:00
2024-01-19 11:53:00 +00:00
2023-11-29 12:03:34 +00:00
2023-07-21 18:40:13 +01:00
2023-11-28 13:52:05 +00:00
2023-10-11 17:38:31 +01:00
2023-05-10 10:56:44 +07:00
2023-11-23 16:18:47 +00:00
2024-01-24 18:16:58 +01:00
2023-03-21 14:21:18 +00:00
2023-10-16 15:02:03 +02:00
2023-08-01 15:33:21 -03:00