diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-08-31 14:36:16 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-08-31 14:40:41 -0700 |
| commit | 4c658b6270d4ba1ab5f574801d06ee58505690e9 (patch) | |
| tree | e71e5aa50082e77f25ded87cf3a15f81e1c0786c /cgcc | |
| parent | 78bb259f64e5c2deafe520af3349314ec4aa84e9 (diff) | |
| download | sparse-dev-4c658b6270d4ba1ab5f574801d06ee58505690e9.tar.gz | |
cgcc: Sparse accepts -Wundef, not -Wundefined-preprocessor
cgcc's regex of Sparse warning options listed -Wundefined-preprocessor,
which doesn't exist; change it to -Wundef.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'cgcc')
| -rwxr-xr-x | cgcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ exit 0; sub check_only_option { my ($arg) = @_; - return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sign|one-bit-signed-bitfield|cast-truncate|bitwise|typesign|context|undefined-preprocessor|ptr-subtraction-blows|cast-to-as|decl|transparent-union|address-space|enum-mismatch|do-while|old-initializer|non-pointer-null|paren-string|return-void)$/; + return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sign|one-bit-signed-bitfield|cast-truncate|bitwise|typesign|context|undef|ptr-subtraction-blows|cast-to-as|decl|transparent-union|address-space|enum-mismatch|do-while|old-initializer|non-pointer-null|paren-string|return-void)$/; return 1 if $arg =~ /^-v(no-?)?(entry|dead)$/; return 0; } |
