Opened 10 years ago

Closed 10 years ago

#40817 closed defect (fixed)

ola @0.8.32: multiple unsequenced modifications to 'data'

Reported by: blklane@… Owned by: nomis52@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: p3k (Tobi Schäfer)
Port: ola

Description

Log of error when installing via macports, attached error log.

Attachments (1)

ola.fail.log.txt (257.9 KB) - added by blklane@… 10 years ago.
Log with Error

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by blklane@…

Attachment: ola.fail.log.txt added

Log with Error

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: interface@… added
Owner: changed from macports-tickets@… to nomis52@…
Port: ola added
Summary: Install Failedola @0.8.32: multiple unsequenced modifications to 'data'

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.

comment:2 Changed 10 years ago by nomis52@…

It's fixed upstream. We should have a new version out in the next day or so.

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.