From: Andy Moreton <andrewjmoreton@gmail.com>
To: 24506@debbugs.gnu.org
Subject: bug#24506: Limit <config.h>’s includes
Date: Thu, 22 Sep 2016 18:26:19 +0100 [thread overview]
Message-ID: <vz1lgyju9qc.fsf@gmail.com> (raw)
In-Reply-To: <1474533251-21751-1-git-send-email-eggert@cs.ucla.edu>
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
next prev parent reply other threads:[~2016-09-22 17:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-22 8:34 bug#24506: [PROPOSED PATCH] Limit <config.h>’s includes Paul Eggert
2016-09-22 17:26 ` Andy Moreton [this message]
2016-09-30 19:43 ` bug#24506: " Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vz1lgyju9qc.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=24506@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.