aboutsummaryrefslogtreecommitdiffstats
path: root/Blocks.parse.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-10-17 04:10:29 +0200
committerMattias Andrée <m@maandree.se>2026-10-17 04:10:29 +0200
commit8c9a2eef5331e5d22489e738d2080b255f9cc245 (patch)
tree89d9bebeb5ffe4f15302640aae8be60a1fc87d90 /Blocks.parse.c
parentUpdate to Unicode 18.0.0 (diff)
downloadlibcmap-8c9a2eef5331e5d22489e738d2080b255f9cc245.tar.gz
libcmap-8c9a2eef5331e5d22489e738d2080b255f9cc245.tar.bz2
libcmap-8c9a2eef5331e5d22489e738d2080b255f9cc245.tar.xz
Add character data
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--Blocks.parse.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/Blocks.parse.c b/Blocks.parse.c
index a5a626a..d167b66 100644
--- a/Blocks.parse.c
+++ b/Blocks.parse.c
@@ -1,6 +1,13 @@
/* See LICENSE file for copyright and license details. */
#include "parse-common.c"
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wunsafe-buffer-usage" /* broken */
+# pragma clang diagnostic ignored "-Wimplicit-void-ptr-cast" /* C++ */
+# pragma clang diagnostic ignored "-Wpre-c11-compat" /* C++ */
+# pragma clang diagnostic ignored "-Wdisabled-macro-expansion" /* libc */
+#endif
+
struct block {
char *name;
@@ -23,7 +30,7 @@ parse_line(char *text, size_t lineno)
if (!isxdigit(*text)) {
malformat:
- fprintf(stderr, "%s: line %zu in is malformatted\n", argv0, lineno);
+ fprintf(stderr, "%s: line %zu is malformatted\n", argv0, lineno);
exit(1);
}