> >> diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index > > 56d4734..7409065 > >> 100644 > >> --- a/opcodes/Makefile.in > >> +++ b/opcodes/Makefile.in > >> @@ -293,6 +293,8 @@ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd > >> SUBDIRS = . po INCDIR = $(srcdir)/../include BFDDIR = > >> $(srcdir)/../bfd > >> +# For development > >> +NO_WUNUSED_FUNCTION = -Wno-unused-function > > 为何需要额外增加这个Warning? > 因为我在unicore32-opc.c里已经写了不少函数,但是还没用上。如果不加 > 这个编译选项,编译就会error。 > 有什么好办法吗? 我通常的做法是先从最小集开始,遇到一个函数增加一个函数;避免大量增加一堆函数,然后再实现内部细节