| Summary: | dev-libs/liborcus-0.5.1 fails to build with sys-devel/gcc-4.8 - add #include <iostream> | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Väth <martin> |
| Component: | [OLD] Library | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | patch to add missing include | ||
Fixed in cvs. Thanks for report. |
Created attachment 362262 [details, diff] patch to add missing include Probably due to some cleanup in the C++ header files, dev-libs/liborcus-0.5.1 does not compile with gcc-4.8.1: The file src/orcus_xml_main.cpp is using some iostream(s) without including the appropriate <iostream> header file. I guess with some older gcc versions the erraneous code might work due to some other header file including <iostream> as some side effect. A patch fixing the missing include (and thus compilation with gcc-4.8.1) is attached.