This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Status of the PPH implementation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]