Yu Watanabe
9c881fa867
fundamental-macro: conditionalize several gcc warning pragmas
...
This fixes the following error:
In file included from ../src/basic/macro.h:13,
from ../src/basic/env-util.h:9,
from ../src/nss-systemd/nss-systemd.c:7:
../src/fundamental/macro-fundamental.h:61:9: error: option ‘-Wzero-as-null-pointer-constant’ is valid for C++/ObjC++ but not for C [-Werror=pragmas]
61 | _Pragma("GCC diagnostic ignored \"-Wzero-as-null-pointer-constant\"")
| ^~~~~~~
../src/nss-systemd/nss-systemd.c:106:1: note: in expansion of macro ‘DISABLE_WARNING_ZERO_AS_NULL_POINTER_CONSTANT’
106 | DISABLE_WARNING_ZERO_AS_NULL_POINTER_CONSTANT;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
2025-01-17 04:35:09 +09:00
..
2025-01-16 03:34:11 +09:00
2025-01-02 16:39:05 +01:00
2025-01-17 04:08:58 +09:00
2024-12-12 23:11:29 +00:00
2024-11-13 08:21:33 +09:00
2025-01-17 04:35:09 +09:00
2025-01-02 16:38:44 +01:00
2025-01-16 07:48:21 +01:00
2025-01-16 11:55:21 +01:00
2024-12-12 15:25:34 +09:00
2025-01-02 16:38:44 +01:00
2025-01-02 16:38:44 +01:00
2025-01-03 08:32:27 +01:00
2025-01-14 11:13:25 +01:00
2024-11-13 08:21:33 +09:00
2025-01-02 16:38:44 +01:00
2024-11-23 17:30:56 +09:00
2024-12-09 19:25:59 +01:00
2025-01-17 04:35:09 +09:00
2024-12-10 10:43:14 +01:00
2024-12-09 19:59:29 +01:00
2024-12-09 19:24:59 +01:00
2025-01-16 02:26:56 +01:00
2025-01-13 16:24:44 +01:00
2025-01-10 15:15:13 +09:00
2025-01-16 03:33:45 +09:00
2024-11-13 08:21:33 +09:00
2025-01-16 02:26:56 +01:00
2024-12-28 14:17:47 +09:00
2024-12-01 14:05:45 +09:00
2025-01-02 16:38:44 +01:00
2025-01-16 11:37:17 +01:00
2024-11-19 04:04:14 +09:00
2025-01-16 11:37:17 +01:00
2025-01-15 17:46:10 +01:00
2025-01-03 12:23:24 +01:00
2024-11-13 08:21:33 +09:00
2025-01-06 22:13:50 +09:00
2025-01-16 02:26:56 +01:00
2025-01-16 02:26:56 +01:00
2025-01-14 09:53:56 +00:00
2025-01-17 04:09:12 +09:00
2025-01-16 02:26:56 +01:00
2024-12-20 17:51:54 +01:00
2025-01-02 16:37:52 +01:00
2025-01-02 16:38:44 +01:00
2024-12-20 18:04:01 +01:00
2024-11-13 08:21:33 +09:00
2025-01-15 16:25:32 +01:00
2024-11-23 17:30:56 +09:00
2025-01-02 20:40:45 +01:00
2025-01-10 16:08:07 +09:00
2025-01-17 04:08:58 +09:00
2025-01-15 21:05:59 +01:00
2025-01-02 16:38:44 +01:00
2025-01-17 04:08:58 +09:00
2024-11-23 17:32:51 +09:00
2025-01-16 02:26:56 +01:00
2024-11-19 11:00:20 +01:00
2025-01-07 15:51:16 +01:00
2024-12-20 18:04:01 +01:00
2025-01-13 16:24:44 +01:00
2025-01-06 09:28:19 +01:00
2024-12-20 18:04:01 +01:00
2025-01-15 10:36:07 +01:00
2025-01-16 11:55:21 +01:00
2025-01-13 16:24:44 +01:00
2025-01-16 02:26:56 +01:00
2025-01-13 15:05:41 +01:00
2024-12-12 15:21:16 +09:00
2025-01-04 16:44:53 +01:00
2025-01-16 02:26:56 +01:00
2025-01-10 14:58:56 +09:00
2025-01-13 22:54:42 +01:00
2025-01-15 10:35:28 +01:00
2025-01-16 02:26:56 +01:00
2024-12-13 16:23:05 +00:00
2024-11-13 08:21:33 +09:00
2025-01-04 17:08:00 +01:00