Messages in this thread | | | Date | Wed, 2 Apr 2008 18:50:20 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH 7/7] asm-generic: suppress sparse warning in ioctl.h |
| |
On Thu, 3 Apr 2008, Al Viro wrote: > > Umm... How far do you want sparse to go? You _really_ don't want > bug-for-bug compatibility with gcc - it's far too weird (and that's > even before going into the effects of optimization flags).
I would suggest just accepting link-time constants in constant expressions. But yeah, maybe limit even that just to unevaluated subexpressions.
That said, for sparse, the right thing to do would be to use __builtin_warning() or something, but gcc doesn't have that kind of thing, so..
> BTW, what happened with sparse.git?
Yeah, we do seem to have lost a maintainer.
Linus
| |