diff options
author | 2007-05-22 16:58:06 -0700 | |
---|---|---|
committer | 2007-05-22 16:59:23 -0700 | |
commit | b376177890bb579d4fd6a532bb95a6ef9a8d0787 (patch) | |
tree | 5c7f8f5c974717bf380a4695227cca4a35243469 /cgcc | |
parent | Expand calling convention test case to cover fastcall (diff) | |
download | sparse-b376177890bb579d4fd6a532bb95a6ef9a8d0787.tar.gz sparse-b376177890bb579d4fd6a532bb95a6ef9a8d0787.tar.bz2 sparse-b376177890bb579d4fd6a532bb95a6ef9a8d0787.zip |
Add -Wno-non-pointer-null to turn off warning about using a plain integer as a NULL pointer
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'cgcc')
-rwxr-xr-x | cgcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ exit 0; sub check_only_option { my ($arg) = @_; - return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sig|one-bit-signed-bitfield|cast-truncate|bitwise|typesign|context|undefined-preprocessor|ptr-subtraction-blows|cast-to-address-space|decl|transparent-union|address-space|enum-mismatch|do-while|old-initializer)$/; + return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sig|one-bit-signed-bitfield|cast-truncate|bitwise|typesign|context|undefined-preprocessor|ptr-subtraction-blows|cast-to-address-space|decl|transparent-union|address-space|enum-mismatch|do-while|old-initializer|non-pointer-null)$/; return 1 if $arg =~ /^-v(no-?)?(entry|dead)$/; return 0; } |