[Top][All Lists]

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

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

From: Paul Eggert
Subject: [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP
Date: Mon, 30 Aug 2021 14:50:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

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:


  Message sent via Savannah

reply via email to

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