[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/29469] New: error: non-template 'pair' used as template



The following example code compiled fine with 4.1.2 20060901 (Debian 4.1.1-13)
but fails with 4.1.2 20061007 (Debian 4.1.1-16).  I'm wondering whether this
change was intentional and whether there's a good reason for this change (in a
stable branch).

$ g++-4.1 -c pair.c
x.c:32: error: non-template 'pair' used as template
x.c:32: note: use 'avm_map<Key, Value, Compare, equal>::template pair' to
indicate that it is a template


-- 
           Summary: error: non-template 'pair' used as template
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: