public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2
@ 2024-06-21 14:49 martin at lispworks dot com
  2024-06-22 20:02 ` [Bug build/31918] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: martin at lispworks dot com @ 2024-06-21 14:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31918

            Bug ID: 31918
           Summary: Error: no template named 'unordered_map' when
                    compiling on FreeBSD 13.2
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: martin at lispworks dot com
  Target Milestone: ---

Created attachment 15590
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15590&action=edit
Patch to include unordered_map header

Compiling on FreeBSD 13.2 with the default clang version 14.0.5 and top level
configure options --with-python=/usr/local/bin/python3.9 gives this error:

  CXX    ada-exp.o
../../binutils-gdb/gdb/ada-exp.y:100:8: error: no template named
'unordered_map' in namespace 'std'
  std::unordered_map<std::string, std::vector<ada_index_var_operation *>>
  ~~~~~^
1 error generated.

The attached patch fixes it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-24 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-21 14:49 [Bug build/31918] New: Error: no template named 'unordered_map' when compiling on FreeBSD 13.2 martin at lispworks dot com
2024-06-22 20:02 ` [Bug build/31918] " tromey at sourceware dot org
2024-06-24 12:23 ` cvs-commit at gcc dot gnu.org
2024-06-24 12:26 ` cvs-commit at gcc dot gnu.org
2024-06-24 12:26 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).