This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, The recent change introducing the itbl-lex-wrapper, produces the following build warnings for a cross from x86-linux-gnu -> mips-linux-gnu: in file included from ../../src/binutils-mainline/gas/itbl-lex-wrapper.c:4: ../../src/binutils-mainline/gas/../bfd/sysdep.h:123: warning: function declaration isn't a prototype ../../src/binutils-mainline/gas/../bfd/sysdep.h:127: warning: function declaration isn't a prototype ../../src/binutils-mainline/gas/../bfd/sysdep.h:131: warning: function declaration isn't a prototype ../../src/binutils-mainline/gas/../bfd/sysdep.h:135: warning: function declaration isn't a prototype ../../src/binutils-mainline/gas/../bfd/sysdep.h:143: warning: function declaration isn't a prototype In file included from ../../src/binutils-mainline/gas/as.h:187, This is because the newly included bfd/sysdep.h tests several HAVE_DECL_xxx which are not provided by the configury in GAS. The attached patch resolves that. OK for trunk? Iain P.S. As an aside, is it intentional that the fall-back specifications are not proper prototypes? === gas/ * configure.in: Check DECLS for free, getenv, malloc, realloc, stpcpy and strstr. * configure: Regenerate. * config.in: Likewise.
Attachment:
gas-config-func-checks.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |