diff options
author | 2007-05-01 20:54:02 -0700 | |
---|---|---|
committer | 2007-05-01 20:54:02 -0700 | |
commit | 0a393b6937e03bc94e7f7760d4dcb913394fdd09 (patch) | |
tree | 7ea3fbde20dbcb4d78060941541489e8a83fd2ae /cgcc | |
parent | Make cgcc not pass -Wall to sparse even if passing it to cc (diff) | |
download | sparse-0a393b6937e03bc94e7f7760d4dcb913394fdd09.tar.gz sparse-0a393b6937e03bc94e7f7760d4dcb913394fdd09.tar.bz2 sparse-0a393b6937e03bc94e7f7760d4dcb913394fdd09.zip |
Teach cgcc about all currently existing sparse warning options
Ideally these wouldn't need to exist in more than one place.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'cgcc')
-rwxr-xr-x | cgcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ exit 0; sub check_only_option { my ($arg) = @_; - return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sig|bitwise|typesign|transparent-union)$/; + 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)$/; return 0; } |