Re: [PATCH] allow ifdef in macro arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to know the answer too so I can try a different patch
or just forget about it.

Chris

On 10/21/07, Josh Triplett <josh@xxxxxxxxxxxxxxx> wrote:
> Al Viro wrote:
> > On Sun, Oct 21, 2007 at 02:07:15AM -0700, Christopher Li wrote:
> >> I think some one report it long time ago.
> >
> > It should not accept those.  Undefined behaviour and if you try to actually
> > define the semantics for it, you run into such a pile of corner cases that
> > it's not worth even trying.
>
> Do you think the cases handled by GCC warrant making an attempt and
> warning about it, or should Sparse just throw up its hands and give
> up?
>
> If the latter, should Sparse make any attempt at all to detect
> preprocessor conditionals in macro arguments so it can give a more
> specific warning?
>
> - Josh Triplett
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux