Bug 75287
Summary: | <ostream> vs <ostream.h> | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | han.holl |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-10-06 20:37:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
han.holl
2002-10-06 20:37:27 UTC
The compiler is right, your program is not ISO C++. #include <ostream> std::ostream& operator<< (std::ostream&, int); is. Or you could add using namespace std; or using std::ostream; after your includes. Wow, that was quick. Thanks. I see now that converting my entire tree to new style headers is going to involve more than just a few streamedits. |