diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-05-01 20:54:02 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-05-01 20:54:02 -0700 |
| commit | 0a393b6937e03bc94e7f7760d4dcb913394fdd09 (patch) | |
| tree | 7ea3fbde20dbcb4d78060941541489e8a83fd2ae /cgcc | |
| parent | e18c1014449adf42520daa9d3e53f78a3d98da34 (diff) | |
| download | sparse-dev-0a393b6937e03bc94e7f7760d4dcb913394fdd09.tar.gz | |
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; } |
