Hi, On Wed, 07 Dec 2011 15:23:19 +0100, Mathieu Malaterre <mathieu.malate...@gmail.com> wrote: > I cannot compile openjpeg using mingw-64, it fails with: > > [ 22%] Building C object libopenjpeg/CMakeFiles/openjpeg.dir/mct.c.obj > In file included > from /usr/lib/gcc/amd64-mingw32msvc/4.4.4/include/xmmintrin.h:39, > from /home/ctest/Dashboards/My > Tests/openjpeg-b15/libopenjpeg/mct.c:33: > /usr/lib/gcc/amd64-mingw32msvc/4.4.4/include/mm_malloc.h:31: > error: static declaration of '_aligned_malloc' follows non-static > declaration > /usr/lib/gcc/amd64-mingw32msvc/4.4.4/../../../../amd64-mingw32msvc/include/stdlib.h:416: > note: previous declaration of '_aligned_malloc' was > here ../usr/lib/gcc/amd64-mingw32msvc/4.4.4/include/mm_malloc.h:68: error: > static declaration of '_aligned_free' follows non-static > declaration > /usr/lib/gcc/amd64-mingw32msvc/4.4.4/../../../../amd64-mingw32msvc/include/stdlib.h:415: > note: previous declaration of '_aligned_free' was here [ 24%] Building C > object libopenjpeg/CMakeFiles/openjpeg.dir/mqc.c.obj
Since you're running a mixture of stable, testing and unstable, would you mind giving mingw-w64 in testing/unstable a shot? It provides a much more recent version of the mingw-w64 development headers than the one you're using, and the bug you've found may well be fixed there. In the near future gcc-mingw-w64 will replace gcc-mingw32. Regards, Stephen
signature.asc
Description: PGP signature