2

我正在尝试从源代码构建 gdb。我正在使用“gdb 7.6 标签”

commit 71d22eb90be4df4b7d2dccd30caae9048289e94c
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Fri Apr 26 11:43:30 2013 +0000

    NEWS: Change "since GDB 7.5" into "in GDB 7.6".

当我尝试使用

arif@khost:~/src/gdb$ clang -v
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

我收到以下错误:

opncls.c:263:5: error: expression result unused [-Werror,-Wunused-value]
    bfd_set_cacheable (nbfd, TRUE);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bfd.h:529:67: note: expanded from:
#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                                                  ^
./bfd.h:134:14: note: expanded from:
#define TRUE 1
4

0 回答 0