[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 |
URL:
<https://savannah.gnu.org/bugs/?59037>
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
_______________________________________________________
Details:
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
'/home/abuild/rpmbuild/BUILD/pspp-1.5.0-ga6dbf8'
Seems to be a correct warning:
https://git.savannah.gnu.org/cgit/pspp.git/tree/src/ui/gui/psppire-dict.c#n927
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59037>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c,
Friedrich Beckmann <=
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, John Darrington, 2020/08/29
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, Friedrich Beckmann, 2020/08/29
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, Mindaugas, 2020/08/29
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, John Darrington, 2020/08/29
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, Mindaugas, 2020/08/29
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, Friedrich Beckmann, 2020/08/29
- PSPP-BUG: [bug #59037] opensuse warning - printf format psppire-dict.c, Friedrich Beckmann, 2020/08/29