[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c

From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c
Date: Sat, 29 Aug 2020 02:42:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15


                 Summary: opensuse warning - printf format psppire-dict.c
                 Project: PSPP
            Submitted by: beckmanf
            Submitted on: Sat 29 Aug 2020 06:42:12 AM UTC
                Category: Compilation/Portability
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Effort: 0.00



The buildlog from Mindaugas on opensuse shows another warning that I do not
see with the current default compiler warning settings.

[  245s] src/ui/gui/psppire-dict.c: In function 'psppire_dict_dump':
[  245s] src/ui/gui/psppire-dict.c:927:34: warning: format '%d' expects
argument of type 'int', but argument 4 has type 'size_t {aka long unsigned
int}' [-Wformat=]
[  245s]        g_print ("`%s' idx=%d, fv=%d\n",
[  245s]                                  ~^
[  245s]                                  %ld
[  245s] src/ui/gui/psppire-dict.c:930:9:
[  245s]          var_get_case_index(v));
[  245s]          ~~~~~~~~~~~~~~~~~~~~~     
[  245s] make[2]: Leaving directory

Seems to be a correct warning:


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]