Skip to content

../gen.tab/gen-arabic-shaping-tab.c:278:1: warning: '%s' directive argument is null [-Wformat-overflow=] #208

@tagoh

Description

@tagoh

This happens when building with gcc 14.1.1.

Do you mean:

diff --git a/gen.tab/gen-arabic-shaping-tab.c b/gen.tab/gen-arabic-shaping-tab.c
index 809699b..1ebe571 100644
--- a/gen.tab/gen-arabic-shaping-tab.c
+++ b/gen.tab/gen-arabic-shaping-tab.c
@@ -284,7 +284,7 @@ main (
     { "UnicodeData.txt", NULL };
 
   if (argc < 3)
-    die3 ("usage:\n  " appname " max-depth /path/to/%s /path/to/%s [junk...]",
+    die3 ("usage:\n  " appname " max-depth /path/to/%s [junk...]",
          data_file_type[0], data_file_type[1]);
 
   {

The above warning is gone with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions