Re: [RFC] gcc compile-time assertions

2001-05-02 Thread Andrew Morton
David Howells wrote: > > I've written a patch for gcc to implement compile-time assertions with an eye > to making use of this in the kernel in the future (assuming I can get it to be > accepted into gcc). > Brilliant. It seems that there needs to be a way of detecting the presence of the

[RFC] gcc compile-time assertions

2001-05-02 Thread David Howells
I'm looking for comments on an idea I've thrashed out with David Woodhouse, Arjan Van de Ven and Andrew Haley... I've written a patch for gcc to implement compile-time assertions with an eye to making use of this in the kernel in the future (assuming I can get it to be accepted into gcc). One

[RFC] gcc compile-time assertions

2001-05-02 Thread David Howells
I'm looking for comments on an idea I've thrashed out with David Woodhouse, Arjan Van de Ven and Andrew Haley... I've written a patch for gcc to implement compile-time assertions with an eye to making use of this in the kernel in the future (assuming I can get it to be accepted into gcc). One

Re: [RFC] gcc compile-time assertions

2001-05-02 Thread Andrew Morton
David Howells wrote: I've written a patch for gcc to implement compile-time assertions with an eye to making use of this in the kernel in the future (assuming I can get it to be accepted into gcc). Brilliant. It seems that there needs to be a way of detecting the presence of the feature