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

Nikola Smiljanic popizdeh at gmail.com
Thu May 29 18:01:22 PDT 2014


Could you please give us a bit more information:

- What platform are you on?
- What standard library are you using?
- Where is you library located?
- How are you invoking clang?

Nikola


On Fri, May 30, 2014 at 10:48 AM, Danna bib <danna1364 at gmail.com> wrote:

> 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
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140530/8f2df963/attachment.html>


More information about the cfe-dev mailing list