[Bug c++/33801] Missing warning

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 6 18:18:00 GMT 2010



------- Comment #4 from paolo dot carlini at oracle dot com  2010-07-06 18:18 -------
Sorry about the delay. The warning emitted by current ICC by default is
exactly:

33801.C(10): warning #21: type qualifiers are meaningless in this declaration
    f(const typename C::const_reference value)
      ^
          detected during instantiation of class "iter<C> [with C=cont]" at
line 16

Likewise VC++, for example. Let's keep this open for a while.


-- 

paolo dot carlini at oracle dot com changed:

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


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



More information about the Gcc-bugs mailing list