ofxEasing icon indicating copy to clipboard operation
ofxEasing copied to clipboard

Unsequenced modification and access to 't'

Open thinium opened this issue 8 years ago • 1 comments

Hi, thanks for the nice work!

According to the following thread it seems that (t/=d) * t is an undefined behavior.

http://stackoverflow.com/questions/18729323/unsequenced-modification-and-access-to-parameter

While I have no problem using this addon and can disable the warning easily, I just want to make sure you are aware of this issue.

thinium avatar Aug 31 '16 13:08 thinium

yes, i know, the code for the equations was ported by @jesusgollonet years ago and has been used in lots of different addons and projects. although compilers signal those assignments as a warning it works fine in every platform and compiler we've tried until now.

arturoc avatar Sep 01 '16 10:09 arturoc