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++/14008] [3.4/3.5 Regression] Confusing diagnostic when ommitting a template parameter


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-03 20:33 -------
3.3.3 gives better diagnostic for the first case:
pr14008.cc:8: error: invalid use of template-name 'N::A' in a declarator
pr14008.cc:8: error: syntax error before `;' token

The second case is not a regression, it is accepted by 3.3.3.

Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-03 20:33:51
               date|                            |
            Summary|Confusing diagnostic when   |[3.4/3.5 Regression]
                   |ommitting a template        |Confusing diagnostic when
                   |parameter                   |ommitting a template
                   |                            |parameter
   Target Milestone|---                         |3.4.0


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


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