simple example fails to compile without #include <iostream>
Brought to you by:
opetzold
gcc --version
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)
Copyright (C) 2006 Free Software Foundation, Inc.
-------------------------
#include <tvmet/tvmet.h>
int main(int argc, char **argv) {}
g++ main.cc
/usr/include/tvmet/TvmetBase.h: In member function 'std::ostream& tvmet::IndentLevel::print_xpr(std::ostream&) const':
/usr/include/tvmet/TvmetBase.h:63: error: no match for 'operator<<' in 'os << " "'
make: *** [all] Error 1
------------------------
#include <iostream>
#include <tvmet/tvmet.h>
int main(int argc, char **argv) {}
//works fine.