Re: Status of the PPH implementation

2012-05-25 Thread Lawrence Crowl
On 5/25/12, Jonathan Wakely wrote: > On 25 May 2012 21:26, Diego Novillo wrote: > > - Some files give syntax errors when compiled in isolation > > because they are missing symbols. for example, ext/algorithm > > needs __gnu_cxx::is_sorted. > > I'm not sure what this refers to ( either > defines __

Re: Status of the PPH implementation

2012-05-25 Thread Jonathan Wakely
On 25 May 2012 21:26, Diego Novillo wrote: > > - Some files give syntax errors when compiled in isolation because they are > missing symbols. for example, ext/algorithm needs __gnu_cxx::is_sorted. I'm not sure what this refers to ( either defines __gnu_cxx::is_sorted or has a using declaration for

Re: Status of the PPH implementation

2012-05-25 Thread Lawrence Crowl
On 5/25/12, Diego Novillo wrote: > On 12-05-25 14:54 , Joseph S. Myers wrote: > > On Fri, 25 May 2012, Diego Novillo wrote: > > > On 12-05-25 12:25 , Jason Merrill wrote: > > > > On 05/25/2012 11:37 AM, Joseph S. Myers wrote: > > > > > and it should be possible to eliminate the __need_* > > > > >

Re: Status of the PPH implementation

2012-05-25 Thread Diego Novillo
On 12-05-25 14:54 , Joseph S. Myers wrote: On Fri, 25 May 2012, Diego Novillo wrote: On 12-05-25 12:25 , Jason Merrill wrote: On 05/25/2012 11:37 AM, Joseph S. Myers wrote: and it should be possible to eliminate the __need_* special cases for some system headers by having more, smaller header

Re: Status of the PPH implementation

2012-05-25 Thread Joseph S. Myers
On Fri, 25 May 2012, Diego Novillo wrote: > On 12-05-25 12:25 , Jason Merrill wrote: > > On 05/25/2012 11:37 AM, Joseph S. Myers wrote: > > > and it should be possible to eliminate the __need_* special cases > > > for some system headers by having more, smaller headers set up to define > > > indiv

Re: Status of the PPH implementation

2012-05-25 Thread Diego Novillo
On 12-05-25 12:25 , Jason Merrill wrote: On 05/25/2012 11:37 AM, Joseph S. Myers wrote: 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. I was thinking the same thing. Yes. Increased

Re: Status of the PPH implementation

2012-05-25 Thread Jason Merrill
On 05/25/2012 11:37 AM, Joseph S. Myers wrote: 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. I was thinking the same thing. Jason

Re: Status of the PPH implementation

2012-05-25 Thread Joseph S. Myers
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 mod

Re: Status of the PPH implementation

2012-05-24 Thread Diego Novillo
Geez, we can't attach pdf files on message to the list. The document is at: http://gcc.gnu.org/wiki/pph?action=AttachFile&do=view&target=pph-in-gcc.pdf Diego.