[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:
<https://savannah.gnu.org/support/?110530>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Ryan Schmidt, 2021/08/19
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Ryan Schmidt, 2021/08/19
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Zack Weinberg, 2021/08/26
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Ryan Schmidt, 2021/08/30
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP,
Paul Eggert <=
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Ryan Schmidt, 2021/08/31
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Paul Eggert, 2021/08/31
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Ryan Schmidt, 2021/08/31
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Zack Weinberg, 2021/08/31
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Paul Eggert, 2021/08/31
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Paul Eggert, 2021/08/31
- [sr #110530] Missing #include <string.h> in AC_FUNC_MEMCMP, Zack Weinberg, 2021/08/31