Will gcc 4.3.0 compile llvm 2.2?


I’m trying to compile llvm 2.2 with gcc 4.3.0 on FC8.

My compile is failing with the following error(s):

error: invalid use of incomplete type ‘struct std::basic_ostream<char, std::char_traits >’

If you’ve run into this, how did you get around this issue?

thx in advance!

GCC 4.3 cleaned up its headers to make them much lighter, and that's
exactly the kind of error that many, many people that weren't properly
conformant by including everything they used are now getting. You
could probably work around it by including <ostream> yourself before
including the header with the error, if it's just in a header, but
adding it to the headers or upgrading to a newer (maybe SVN) LLVM
would probably be a better choice.