Follow-up Comment #3, sr #110530 (project autoconf): Hi Zack, thanks for the response.
1. Unfortunately you don't have a choice about the matter. Autoconf will experience the effects of -Werror=implicit-function-declaration when using clang from Xcode 12 or later because that is its default behavior. Apple had to make this change in order to support Apple Silicon processors so disabling this is not an option. I manually add -Werror=implicit-function-declaration to CFLAGS when building all software on my system because I have not upgraded to Xcode 12 yet but I want to experience and participate in fixing the problems that result from this. In any case, using -Werror=implicit-function-declaration is not causing the problem that HAVE_STRING_H is not defined; it's only making it obvious that this problem exists so now we can fix it. 2. I now think this is a bug in how dfu-programmer is using autoconf and have reported it to them: https://github.com/dfu-programmer/dfu-programmer/issues/61 Something about the way that they are checking for libusb seems to be causing subsequent invocations of AC_HEADER_STDC and AC_FUNC_MEMCMP not to work correctly. A simple fix was to move the invocations of AC_HEADER_STDC and AC_FUNC_MEMCMP above the libusb checks. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110530> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/