This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a40258e
)
The clang frontend says "unknown" for -Wunknown.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 15 Jun 2014 19:19:42 +0000
(15:19 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 15 Jun 2014 19:23:56 +0000
(15:23 -0400)
"unknown warning option" (for -W...) or "unknown argument" (for -...).
cflags.SH
patch
|
blob
|
blame
|
history
diff --git
a/cflags.SH
b/cflags.SH
index
54ce74c
..
d617a2d
100755
(executable)
--- a/
cflags.SH
+++ b/
cflags.SH
@@
-156,6
+156,7
@@
Intel*) ;; # # Is that you, Intel C++?
*) rm -f _cflags$_exe
case "`$cc -DPERL_NO_INLINE_FUNCTIONS $ccflags $warn $stdflags $opt _cflags.c -o _cflags$_exe 2>&1`" in
*"unrecognized"*) ;;
+ *"unknown"*) ;;
*"implicit declaration"*) ;; # Was something useful hidden?
*"Invalid"*) ;;
*"is valid for C"*) ;;