[cfe-dev] include <new>

Nuno Lopes nunoplopes at sapo.pt
Sat Jan 23 15:33:48 PST 2010


> But now i have next err.message (Fedora 10 / x86_64)
>
> llvm$ clang++  -c tst.cpp
> In file included from tst.cpp:1:
> In file included from /usr/include/c++/4.3.2/iostream:44:
> In file included from /usr/include/c++/4.3.2/ostream:44:
> In file included from /usr/include/c++/4.3.2/ios:43:
> In file included from /usr/include/c++/4.3.2/iosfwd:46:
> In file included from /usr/include/c++/4.3.2/bits/postypes.h:46:
> In file included from /usr/include/c++/4.3.2/cwchar:48:
> /usr/include/c++/4.3.2/cstddef:47:15: fatal error: 'stddef.h' file not 
> found
> #include_next <stddef.h>
>              ^
> 1 diagnostic generated.
>
> llvm$ cat tst.cpp
> #include <iostream>


This is a know bug: http://llvm.org/bugs/show_bug.cgi?id=5188
(btw, gcc 4.4 and newer versions don't do this #include and so the bug is 
not triggered)

Nuno 




More information about the cfe-dev mailing list