This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18201] Compiler suggests submitting a bug report after exiting while printing error message
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2004 16:30:02 -0000
- Subject: [Bug c++/18201] Compiler suggests submitting a bug report after exiting while printing error message
- References: <20041028162541.18201.ron@vaniwaarden.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-28 16:30 -------
Fixed since 3.2.2:
pr18201.cc:4: error: invalid use of template-name 'std::basic_ostream' in a
declarator
pr18201.cc:4: error: syntax error before `&' token
pr18201.cc:4: error: `charT' was not declared in this scope
pr18201.cc:4: error: template argument 1 is invalid
pr18201.cc:4: error: template argument 2 is invalid
pr18201.cc:4: warning: ISO C++ forbids declaration of `operator<<' with no type
pr18201.cc:4: warning: ISO C++ forbids declaration of `os' with no type
pr18201.cc:4: error: `int& operator<<(int&)' must have an argument of class or
enumerated type
pr18201.cc:4: error: `int& operator<<(int&)' must take exactly two arguments
3.4 gives:
t.cc:4: error: expected constructor, destructor, or type conversion before ?&? token
t.cc:4: error: expected `;' before ?&? token
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.1.x/3.2.x
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18201