gdb
gdb copied to clipboard
trying to compile on os x fails
tried to compile on os x. i used
CC=gcc-5 CFLAGS=-Wno-error=deprecated-declarations ./configure
CC=gcc-5 make
after applying https://lists.gnu.org/archive/html/bug-binutils/2015-07/msg00184.html (which seems to have not been included?). i get the following error:
d-lang.c: In function 'd_make_symbol_completion_list':
d-lang.c:319:61: error: dereferencing pointer to incomplete type 'struct using_direct'
for (current = imports; current != NULL; current = current->next)
^
d-lang.c: In function 'dynamic_array_p':
d-lang.c:435:7: error: implicit declaration of function 'CHECK_TYPEDEF' [-Werror=implicit-function-declaration]
CHECK_TYPEDEF (type0);
^
cc1: all warnings being treated as errors
make[2]: *** [d-lang.o] Error 1
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2
tried to add -Wno-implicit-function-declaration" but then i get:
d-lang.c: In function 'd_make_symbol_completion_list':
d-lang.c:319:61: error: dereferencing pointer to incomplete type 'struct using_direct'
for (current = imports; current != NULL; current = current->next)
^
make[2]: *** [d-lang.o] Error 1
make[1]: *** [all-gdb] Error 2
make: *** [all] Error 2
Much of what is here has been merged upstream, I don't actively downstream patches here much anymore.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git