Re: Feature request - allow boolean operations of undefined cpp symbols

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

 



On Fri, Feb 02, 2007 at 05:30:37PM -0500, Pavel Roskin wrote:
> 
> You need -Wundef or -Wall to check for undefined preprocessor symbols.
> 
> $ sparse -Wundef test.c 
> test.c:1:5: warning: undefined preprocessor identifier
> 'SYMBOL_NOT_DEFINED'
> test.c:4:2: warning: "not defined"

Ha, I see. So do you still want some thing more than -Wno-undef?

Chris
-
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