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

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #4, sr #110530 (project autoconf):

> Apple had to make this change in order to support Apple Silicon processors
No it didn't. At best, Apple just doesn't care much about compatibility with
GNU tools.

A simple workaround would be for 'configure' to automatically add
-Wno-error=implicit-function-declaration to CFLAGS if it's needed to compile a
simple test like "does strlen exist?". Perhaps Autoconf should do that.

In the meantime, the advice "configure with
CFLAGS=-Wno-error=implicit-function-declaration" will simply have to become de
rigueur among people who want to run GNU tools on macOS despite Apple's
increasingly-high portability barriers.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.