Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsequenced modification and access to 't' #1

Open
thinium opened this issue Aug 31, 2016 · 1 comment
Open

Unsequenced modification and access to 't' #1

thinium opened this issue Aug 31, 2016 · 1 comment

Comments

@thinium
Copy link

thinium commented Aug 31, 2016

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.

@arturoc
Copy link
Owner

arturoc commented Sep 1, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants