bug-gnulib
[Top][All Lists]
Advanced

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

Re: _GL_EXTERN_INLINE not defined correctly in config.h for macOS


From: Paul Eggert
Subject: Re: _GL_EXTERN_INLINE not defined correctly in config.h for macOS
Date: Tue, 18 Jan 2022 10:38:53 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

On 1/18/22 04:54, Reuben Thomas wrote:
I solved my problem not by using the updated gnulib, but by
assuming a conformant C99 compiler, and directly using the "inline"
keyword. This would not work on clang as shipped with old Mac OS; is
it reasonable in your view for me to expect users on such systems to
have installed a newer compiler?

I'm not sure a newer compiler would fix the bugs, as they're typically present in the ctype.h supplied by the OS. If the newer compiler comes with a fixed ctype.h you're OK; if it reuses or copies the old ctype.h you'll have a problem.

If memory serves, the problem is not limited to ctype.h.



reply via email to

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