On Thu, Apr 3, 2008 at 10:51 PM, Bernardo Elayda <[hidden email]> wrote:
> 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<char> >'
> If you've run into this, how did you get around this issue?
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.
LLVM Developers mailing list
[hidden email]http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev