← Back to team overview

yade-dev team mailing list archive

Re: [yade/trunk] 4f9f8d: fix compilation warning in openmp-accu.hpp

 

Hi Christian,

> -  ~OpenMPAccumulator() { free((void*)data); }
> +  ~OpenMPAccumulator() { free((void*)&data); }

I am not sure, it is a correct fix.

Anton


2013/3/28 Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>:
>   Branch: refs/heads/master
>   Home:   https://github.com/yade/trunk
>   Commit: 4f9f8dae377ba928ee752ffd1eeaf90a18862417
>       https://github.com/yade/trunk/commit/4f9f8dae377ba928ee752ffd1eeaf90a18862417
>   Author: Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>
>   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     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References