[MacPorts] #47022: msp430-gdb fails to build
MacPorts
noreply at macports.org
Tue Mar 3 10:31:12 PST 2015
#47022: msp430-gdb fails to build
---------------------+--------------------------------
Reporter: d.xin@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: msp430-gdb
---------------------+--------------------------------
I tried to upgrade the outdated ports and msp430-gdb failed. I looked at
the log file and the problem is the following:
:info:build bfdio.c:580:31: error: 'memset' call operates on objects of
type 'struct stat' while the size is based on a different type 'struct
stat *' [-Werror,-Wsizeof-pointer-memaccess]
:info:build memset (statbuf, 0, sizeof (statbuf));
:info:build ~~~~~~~ ^~~~~~~
:info:build bfdio.c:580:31: note: did you mean to dereference the argument
to 'sizeof' (and multiply it by the number of elements)?
:info:build memset (statbuf, 0, sizeof (statbuf));
:info:build ^~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [bfdio.lo] Error 1
--
Ticket URL: <https://trac.macports.org/ticket/47022>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list