[Bug c++/11119] using forward declared classes in templates

bangerth@dealii.org gcc-bugzilla@gcc.gnu.org
Sat Jun 7 00:33:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11119


bangerth@dealii.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From bangerth@dealii.org  2003-06-07 00:33 -------
Not a bug. "b<<t" might be a global operator that is only looked up later
in two-stage name loolup. b.operator<<(t) must be a member function, so
two-stage name lookup requires a check that something like that exists.

It aborts with icc as well, if one switches on -Xc -ansi.

W.



More information about the Gcc-bugs mailing list