This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Status of the PPH implementation
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>, Lawrence Crowl <crowl at google dot com>, Jason Merrill <jason at redhat dot com>, Nathan Sidwell <nathan at codesourcery dot com>
- Date: Fri, 25 May 2012 15:37:43 +0000 (UTC)
- Subject: Re: Status of the PPH implementation
- References: <4FBEBEDC.8040001@google.com> <CAD_=9DQHuhcrmkv297rC7pgSpJz0TXbPAx0vrqE=Zqs3VCEVWg@mail.gmail.com>
On Thu, 24 May 2012, Diego Novillo wrote:
> The document is at:
> http://gcc.gnu.org/wiki/pph?action=AttachFile&do=view&target=pph-in-gcc.pdf
One thing I wonder from this document is whether there are changes it
would be useful to make to system headers (both in GCC and in glibc) to
improve modularity. You can't really get away from the dependence on
feature test macros such as _GNU_SOURCE, but it seems reasonable to
suppose that all source files in a project will use the same feature test
macros, and it should be possible to eliminate the __need_* special cases
for some system headers by having more, smaller headers set up to define
individual types.
--
Joseph S. Myers
joseph@codesourcery.com