The Go front end fails to build for me on 10-branch with the error
below (and many others that look like they're cause by it).  Git
log doesn't show any recent changes that might be responsible for
it.  It looks like the code is guarded by the conditional #if
defined(HAVE_UNORDERED_MAP) and HAVE_UNORDERED_MAP doesn't seem
to be defined in any GCC 10 generated headers or sources.  Has
anyone else noticed this?

Martin

In file included from /usr/include/c++/8/unordered_map:35,
                 from /ssd/src/gcc/10-branch/gcc/go/go-system.h:43,
from /ssd/src/gcc/10-branch/gcc/go/gofrontend/ast-dump.cc:7: /usr/include/c++/8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^~~~~
In file included from /ssd/src/gcc/10-branch/gcc/go/gofrontend/ast-dump.cc:7: /ssd/src/gcc/10-branch/gcc/go/go-system.h:53:7: error: ‘std::unordered_set’ has not been declared
  std::unordered_set<KEYTYPE>
       ^~~~~~~~~~~~~
/ssd/src/gcc/10-branch/gcc/go/gofrontend/gogo.h:784:30: note: in expansion of macro ‘Unordered_set’
                              Unordered_set(const Named_object*)*);
                              ^~~~~~~~~~~~~

Reply via email to