[LLVMbugs] [Bug 9847] New: mm_malloc.h generates an error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 5 07:56:51 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9847

           Summary: mm_malloc.h generates an error
           Product: new-bugs
           Version: 2.9
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yottui at yahoo.co.jp
                CC: llvmbugs at cs.uiuc.edu


I'm using clang++ 2.9 and MinGW-gcc 4.5.2.
At that time, the compiler generates an error.

--- begin test case (xmmintrin.cpp) ---
#include <xmmintrin.h>
--- end test case ---

--- begin operation ---
$ clang++ -c -msse xmmintrin.cpp
In file included from xmmintrin.cpp:1:
In file included from C:/MinGW/bin/../lib/clang/2.9/include/xmmintrin.h:40:
C:/MinGW/bin/../lib/clang/2.9/include/mm_malloc.h:57:20: error: use of
undeclared identifier '_aligned_malloc'
  mallocedMemory = _aligned_malloc(size, align);
                   ^
1 error generated.
--- end operation ---

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list