diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-04-20 01:30:04 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-04-20 01:30:04 -0700 |
commit | 4e32ff4d89dc31ce308f4d023e826dd56eb234fe (patch) | |
tree | 7244152e3bc205c548a81feba2a667d01359340e /cgcc | |
parent | Fix comment to reference #weak_define rather than #ifndef, matching code (diff) | |
download | sparse-4e32ff4d89dc31ce308f4d023e826dd56eb234fe.tar.gz sparse-4e32ff4d89dc31ce308f4d023e826dd56eb234fe.tar.bz2 sparse-4e32ff4d89dc31ce308f4d023e826dd56eb234fe.zip |
Teach cgcc about -Wtransparent-union and -Wno-transparent-union
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)$/; + return 1 if $arg =~ /^-W(no-?)?(default-bitfield-sig|bitwise|typesign|transparent-union)$/; return 0; } |