[cfe-dev] include <new>

Eli Friedman eli.friedman at gmail.com
Fri Jan 15 13:45:56 PST 2010


On Fri, Jan 15, 2010 at 1:17 PM, david raila <raila at illinois.edu> wrote:
> More of a platform than compiler issue, but where do things like
> <new> and <csdtdef> come from?  I seem to be picking up from gcc-4.4.2
> and failing:
>
> #include <stdio.h>
> #include <new>
>
> In file included from /usr/include/c++/4.4.2/new:39:
> /usr/include/c++/4.4.2/cstddef:42:10: fatal error: 'bits/c++config.h'
> file not
>       found
> #include <bits/c++config.h>

That's the fault of the C++ header path hacks in
lib/Frontend/InitHeaderSearch.cpp; you probably need to add a missing
entry.

-Eli




More information about the cfe-dev mailing list