bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: [bug #59034] E: pspp 64bit-portability-issue src/ui/gui/psppir


From: Friedrich Beckmann
Subject: PSPP-BUG: [bug #59034] E: pspp 64bit-portability-issue src/ui/gui/psppire-conf.c:56
Date: Sat, 29 Aug 2020 02:18:41 -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

Follow-up Comment #1, bug #59034 (project pspp):

Hi Mindaugas,

thanks for the report. I guess this comes from this warning in the logfile:


[  241s] src/ui/gui/psppire-conf.c: In function 'flush_conf':
[  241s] src/ui/gui/psppire-conf.c:56:19: warning: implicit declaration of
function 'strerror'; did you mean 'g_strerror'?
[-Wimplicit-function-declaration]
[  241s]        char *msg = strerror (errno);
[  241s]                    ^~~~~~~~
[  241s]                    g_strerror
[  241s] src/ui/gui/psppire-conf.c:56:19: warning: initialization makes
pointer from integer without a cast [-Wint-conversion]
[  241s] make[2]: Leaving directory
'/home/abuild/rpmbuild/BUILD/pspp-1.5.0-ga6dbf8'
[  241s] make[2]: Entering directory
'/home/abuild/rpmbuild/BUILD/pspp-1.5.0-ga6dbf8'


Seems like the includes that we have in psppire-conf.c cover strerror on many
other platforms. Could you try a patch with an appropiate include like


#include <string.h>




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59034>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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