[Bug c++/17763] [3.4/4.0/4.1 Regression] Wrong context in error message for template parameter

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 8 22:10:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 22:10 -------
2.95.3 worked correctly:
earth:~>~/ia32_linux_gcc2_95/bin/gcc t.cc
t.cc: In function `int main()':
t.cc:12: no match for `Outer<int>::Inner == int'

This is very much related to PR 23293.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |23293
              nThis|                            |
           Severity|enhancement                 |minor
      Known to work|                            |2.95
            Summary|Wrong context in error      |[3.4/4.0/4.1 Regression]
                   |message for template        |Wrong context in error
                   |parameter                   |message for template
                   |                            |parameter
   Target Milestone|---                         |4.0.2


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



More information about the Gcc-bugs mailing list