[MacPorts] #40817: ola @0.8.32: multiple unsequenced modifications to 'data' (was: Install Failed)
MacPorts
noreply at macports.org
Sun Oct 20 17:07:49 PDT 2013
#40817: ola @0.8.32: multiple unsequenced modifications to 'data'
------------------------+-----------------------
Reporter: blklane@… | Owner: nomis52@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: ola |
------------------------+-----------------------
Changes (by ryandesign@…):
* cc: interface@… (added)
* owner: macports-tickets@… => nomis52@…
* port: => ola
Comment:
The log says:
{{{
:info:build DMPAddress.cpp:115:46: error: multiple unsequenced
modifications to 'data' [-Werror,-Wunsequenced]
:info:build return new OneByteRangeDMPAddress(*data++, *data++,
*data);
:info:build ^ ~~
:info:build 1 error generated.
}}}
Indeed, the code should probably be changed because I guess the compiler
won't necessarily cause those postincrements to occur in the order the
developer expected.
--
Ticket URL: <https://trac.macports.org/ticket/40817#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list