bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP


From: Zack Weinberg
Subject: [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP
Date: Thu, 26 Aug 2021 16:24:23 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Follow-up Comment #2, sr #110530 (project autoconf):

1. We currently don't support *any* use of -Werror or -Werror=whatever in
configure scripts.  There are lots and lots of places where autoconf's test
programs trigger warnings, especially with newer compilers. We *want* to fix
all of those eventually but we have *no* developers right now, so "eventually"
might be a very long time.

The recommended way to use -Werror with autotools is with an AC_ARG_ENABLE
construct that *optionally* adds -Werror to a dedicated AC_SUBST variable that
is then added to AM_CFLAGS in Makefile.am (or equivalent if you're not using
automake).

2. That said, HAVE_STRING_H should have been defined automatically.  Could you
please cut down dfu-programmer's configure.ac to the smallest thing you can
manage that still reproduces the issue, and attach that file here?  Please
also make it self-contained -- inline any definitions from aclocal.m4 that are
needed.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110530>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]