GDB 8.1 build error

Paul Koning <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
I can't build GDB on Mac.  This shows up both in a native build, and a cross-build (for example target=mips-netbsdelf).  I see this error:

/Users/pkoning/Downloads/gdb-8.1/gdb/stap-probe.c:122:29: error: default
      initialization of an object of const type 'const stap_static_probe_ops'
      without a user-provided default constructor
const stap_static_probe_ops stap_static_probe_ops;

or

/Users/pkoning/Downloads/gdb-8.1/gdb/probe.c:63:28: error: default
      initialization of an object of const type 'const any_static_probe_ops'
      without a user-provided default constructor
const any_static_probe_ops any_static_probe_ops;

(same problem, different source file).

	paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.