aboutsummaryrefslogtreecommitdiff
path: root/cgcc
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-05-22 16:58:06 -0700
committerJosh Triplett <josh@freedesktop.org>2007-05-22 16:59:23 -0700
commitb376177890bb579d4fd6a532bb95a6ef9a8d0787 (patch)
tree5c7f8f5c974717bf380a4695227cca4a35243469 /cgcc
parentExpand calling convention test case to cover fastcall (diff)
downloadsparse-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-xcgcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgcc b/cgcc
index a364c0a..4ac4a3b 100755
--- a/cgcc
+++ b/cgcc
@@ -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;
}