diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-05-22 13:30:58 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-05-22 13:30:58 -0700 |
| commit | 63eaf03c8323ce027dc3cd16ae050c57daec6eed (patch) | |
| tree | 251b67fc51714ee46241717b007c7736207cda28 /cgcc | |
| parent | 1cc42170efe8cdb5f3b1e41e26d796e04c31dc95 (diff) | |
| download | sparse-dev-63eaf03c8323ce027dc3cd16ae050c57daec6eed.tar.gz | |
Add -Wno-old-initializer to turn off warnings about non-C99 struct initializers
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)$/; + 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 =~ /^-v(no-?)?(entry|dead)$/; return 0; } |
