Re: plugins header file

2014-10-15 Thread David Malcolm
On Tue, 2014-10-14 at 15:40 -0400, Andrew MacLeod wrote: > On 09/15/2014 02:18 PM, Andrew MacLeod wrote: > > During the re-architecture session at Cauldron, I mentioned the > > possibility of introducing a plugin-headers.h. > > > > This would be a file which plugins could use which would protect t

Re: plugins header file

2014-10-14 Thread Jeff Law
On 10/14/14 13:40, Andrew MacLeod wrote: On 09/15/2014 02:18 PM, Andrew MacLeod wrote: During the re-architecture session at Cauldron, I mentioned the possibility of introducing a plugin-headers.h. This would be a file which plugins could use which would protect them somewhat from header file r

Re: plugins header file

2014-10-14 Thread Andrew MacLeod
On 09/15/2014 02:18 PM, Andrew MacLeod wrote: During the re-architecture session at Cauldron, I mentioned the possibility of introducing a plugin-headers.h. This would be a file which plugins could use which would protect them somewhat from header file restructuring. The idea is that it inclu

Re: plugins header file

2014-09-15 Thread Joey Ye
Sounds a good idea to me, here is the list I'm using: #include "params.h" #include "flags.h" #include "tree.h" #include "tree-pass.h" #include "basic-block.h" #include "function.h" #include "hash-table.h" #include "tree-ssa-alias.h" #include "tree-cfg.h" #include "tree-ssa-operands.h" #include "tre

plugins header file

2014-09-15 Thread Andrew MacLeod
During the re-architecture session at Cauldron, I mentioned the possibility of introducing a plugin-headers.h. This would be a file which plugins could use which would protect them somewhat from header file restructuring. The idea is that it includes all the common things plugins need, (like