This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18201] Compiler suggests submitting a bug report after exiting while printing error message


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]