Zitat von Anton Gladky <[email protected]>:
Hi Christian,
- ~OpenMPAccumulator() { free((void*)data); }
+ ~OpenMPAccumulator() { free((void*)&data); }
I am not sure, it is a correct fix.
Sorry it was compiling without errors at my machine, so I thought it
is fixed...
Can somebody undo this? Or fix it another way? Right now I can not do it.
maybe this one helps:
http://blog.worldofcoding.com/2010/02/solving-gcc-44-strict-aliasing-problems.html
Anton
2013/3/28 Christian Jakob <[email protected]>:
Branch: refs/heads/master
Home: https://github.com/yade/trunk
Commit: 4f9f8dae377ba928ee752ffd1eeaf90a18862417
https://github.com/yade/trunk/commit/4f9f8dae377ba928ee752ffd1eeaf90a18862417
Author: Christian Jakob <[email protected]>
Date: 2013-03-28 (Thu, 28 Mar 2013)
Changed paths:
M lib/base/openmp-accu.hpp
Log Message:
-----------
fix compilation warning in openmp-accu.hpp
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp