* [PATCH] Make cgcc filter out all sparse warning related options
@ 2007-08-22 9:48 Yura Pakhuchiy
2007-08-23 2:17 ` Josh Triplett
0 siblings, 1 reply; 2+ messages in thread
From: Yura Pakhuchiy @ 2007-08-22 9:48 UTC (permalink / raw)
To: Josh Triplett; +Cc: linux-sparse
Make cgcc filter out all sparse warning related options.
Signed-off-by: Yura Pakhuchiy <pakhuchiy@gmail.com>
diff --git a/cgcc b/cgcc
index 2b9f89c..51fbd86 100755
--- a/cgcc
+++ b/cgcc
@@ -69,7 +69,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|old-initializer|non-pointer-null)$/;
+ 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-address-space|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;
}
--
Best regards,
Yura
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Make cgcc filter out all sparse warning related options
2007-08-22 9:48 [PATCH] Make cgcc filter out all sparse warning related options Yura Pakhuchiy
@ 2007-08-23 2:17 ` Josh Triplett
0 siblings, 0 replies; 2+ messages in thread
From: Josh Triplett @ 2007-08-23 2:17 UTC (permalink / raw)
To: Yura Pakhuchiy; +Cc: linux-sparse
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
Yura Pakhuchiy wrote:
> Make cgcc filter out all sparse warning related options.
>
> Signed-off-by: Yura Pakhuchiy <pakhuchiy@gmail.com>
Applied, thanks.
- Josh Triplett
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-23 2:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 9:48 [PATCH] Make cgcc filter out all sparse warning related options Yura Pakhuchiy
2007-08-23 2:17 ` Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).