Status of the PPH implementation

Joseph S. Myers joseph@codesourcery.com
Fri May 25 15:38:00 GMT 2012


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



More information about the Gcc mailing list