[LLVMbugs] [Bug 3676] New: ADT/hash_map raises warning on g++ 4.3

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Feb 27 00:14:21 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3676

           Summary: ADT/hash_map raises warning on g++ 4.3
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


ADT/hash_map.h maps to #include <ext/hash_map> on gcc 3.1+. However, by gcc
4.3, that's obsolete and GCC generates a warning.

The replacement is #include <tr1/unordered_map>. We may need to typedef the
name or somesuch, but otherwise I expect it to work out of the box.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list