Hi, Ziyao wrote,
On 2024-04-11 19:02, Yao Zi wrote:
Macros __attribute__, __format__ and __printf__ are defined in argp.h for compatibility with ANSI and old gccs. But leaving them effective out of the scope of the header may break applications relying on these compiler attributes even with __STRICT_ANSI__ defined. So undef the macros after using.
Signed-off-by: Yao Zi ziyao@disroot.org
Could anyone have a look and get this patch merged? AFAIK __attribute__ is commonly used in C applications/libraries, including libxml, libelf and even uclibc-ng itself.
Committed and pushed, thanks Waldemar