[cfe-dev] PCH: separation from source header

Ilya Murav'jov muravev at yandex.ru
Sun Sep 19 10:21:54 PDT 2010


Argyrios Kyrtzidis пишет:
> On Sep 19, 2010, at 4:40 PM, Ilya Murav'jov wrote:
>> I am with clang 2.8, clang++ -v
>> clang version 2.8 (branches/release_28 114073)
>> Target: i386-pc-linux-gnu
>> Thread model: posix
>>
>> Is that enough or still I need trunk clang?
>
> Should be enough, please file a bug with a preprocessed file and I'll
take a look at it.
>

Ok, http://llvm.org/bugs/show_bug.cgi?id=8187 . I attach the
preprocessed one but I think it is of no use,- no errors if I compile it:

$ clang++ -E -Isrc -include build/test.h -o build/test.cpp src/test.cpp
$ clang++ -c -o build/test.o build/test.cpp

As for the bug, it can be reproduced on *any decent* C++ header (not
only #include <sstream>): at first I get the error on #define
<boost/shared_ptr.hpp> .

Regards,
 Ilya



More information about the cfe-dev mailing list