This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 754 - Windows CE compilation problem
Summary: Windows CE compilation problem
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: General (show other bugs)
Version: 3.2
Hardware: All Windows
: Normal critical
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 12:48 UTC by suryp2
Modified: 2019-12-04 13:03 UTC (History)
3 users (show)



Attachments

Description suryp2 2014-03-05 12:48:24 UTC
On Windows CE, Eigen\Dense fails to compile with this error:
error C3861: '_aligned_realloc': identifier not found

Looks like aligned_realloc was forgotten when aligned_malloc and aligned_free were fixed for Windows CE in header Memory.h
Comment 1 Gael Guennebaud 2014-03-05 14:46:32 UTC
right. could you attach a patch so that we make sure it's fixed the right way. most of us do not have windows CE to check. thanks.
Comment 2 Christoph Hertzberg 2014-03-05 14:52:07 UTC
I don't have WinCE, but I pushed this:
https://bitbucket.org/eigen/eigen/commits/9c09bf30

If that works, we can transplant it to the 3.2 branch
Comment 3 suryp2 2014-03-06 08:15:43 UTC
Actually, the Christoph's fix is the same like the fix I did myself.
So yes, it works, thanks.

Note: The Memory.h file from the Christoph's bitbucket link contains more changes. I took only those relevant to my issue.
Comment 4 Christoph Hertzberg 2014-03-06 11:39:31 UTC
I essentially guarded both occurrences of _aligned_realloc to be not called in WinCE mode. I transplanted the fix to 3.2 and closing the bug.
Comment 5 Nobody 2019-12-04 13:03:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/754.

Note You need to log in before you can comment on or make changes to this bug.