Bugzilla – Bug 754
Windows CE compilation problem
Last modified: 2014-03-06 11:39:31 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
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.
I don't have WinCE, but I pushed this:
If that works, we can transplant it to the 3.2 branch
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.
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.