[eigen-commits] commit/eigen2: bjacob: backported the following to 2.0:

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen-commits Archives ]


1 new changeset in eigen2:

http://www.bitbucket.org/eigen/eigen2/changeset/ffe40c9582d2/
changeset:   r1604:ffe40c9582d2
user:        bjacob
date:        2009-09-21 11:39:55
summary:     backported the following to 2.0:
* EIGEN_ALIGN and EIGEN_DONT_ALIGN and the corresponding logic in Macros.h
  (instead of using EIGEN_ARCH_WANTS_ALIGNMENT)
* The body of ei_aligned_malloc and ei_aligned_free

The reason for this backporting is that a user complained that with eigen 2..0 he got a warning at Memory.h:81 that the return value of posix_memalign was not used, and that function was declared with an attribute warn_unused_result.

Looking at this, it seemed that the body of this function was already overly complicated, and fixing this warning made it even worse, while the devel branch had a much simpler body and didn't suffer from that problem.

Then it was necessary to update ei_aligned_free too, and to backport EIGEN_ALIGN.

Inch' Allah....
affected #:  3 files (1.2 KB)

Repository URL: http://bitbucket.org/eigen/eigen2/

-- 
This is a commit notification from bitbucket.org.
You are receiving this because you have the service 
enabled, addressing the recipient of this email.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/