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: Reuben Thomas
Subject: Re: _GL_EXTERN_INLINE not defined correctly in config.h for macOS
Date: Mon, 17 Jan 2022 18:37:23 +0000

On Mon, 17 Jan 2022 at 17:41, Paul Eggert <eggert@cs.ucla.edu> wrote:
>
> Could you give complete instructions from scratch, to reproduce the
> config.h that has this problem? Without that, it'll be hard for us to
> understand or fix the problem.

Sorry, I've failed to explain the problem clearly (or maybe there's a
mistake in my reasoning); it doesn't matter how the config.h is
produced. The module "extern-inline" copies a stanza of code into
config.h. That code includes a test of the preprocessor macro
"__header_inline". That macro is defined in a system header on macOS.
When config.h is #included, no other header has been included.
Therefore, the symbol will never have been defined at the point where
it is tested in config.h. Therefore, the test will always fail.

-- 
https://rrt.sc3d.org



reply via email to

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