bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24506: Limit <config.h>’s includes


From: Andy Moreton
Subject: bug#24506: Limit <config.h>’s includes
Date: Thu, 22 Sep 2016 18:26:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt)

On Thu 22 Sep 2016, Paul Eggert wrote:

> This follows up on recent problems with the fact that config.h
> includes stdlib.h etc.; some files need to include stdlib.h later.
> config.h generally should limit itself to includes that are
> universally safe; outside of MS-Windows, only stdbool.h makes
> the cut among the files currently included.  So, move the
> other includes to just the files that need them.

The check at the top of src/conf_post.h needs a minor fix:

#if defined DOS_NT && !defined DEFER_MS_W32_H

After that, it bootstraps on Windows using 64bit MSYS2 (gcc 6.2.0) and
appears to be functional.

    AndyM







reply via email to

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