With g++ 4.5.0 built on cygwin pc (x86, 32bit) the following program has no output. Without the declaration of the vector anything works fine as expected. Does anybody know what could cause this strange behavior?
#include <iostream> #include <vector> int main() { std::cout << "hello" << std::endl; std::vector<int> v; } -- Summary: container declaration disables standard outoput Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: nico at josuttis dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43877