[cfe-dev] Clang can't compile #include<new>

Danna bib danna1364 at gmail.com
Thu May 29 17:48:45 PDT 2014


Dear all,

I have compiled several programs of SPEC2006 by clang, but I couldn’t
compile program 444.namd, and I got the the following fatal error:
...
./ResizeArrayRaw.h:19:10: fatal error: 'new' file not found
#include <new>
         ^
...

It seems that clang can't find the <new> c++ standard library. Does anyone
know how I can solve this problem?
Any advise would be appreciated.

regards,
Danna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140529/091c4d41/attachment.html>


More information about the cfe-dev mailing list