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:
a4eca1d
)
quadmath Q format specifier and gcc -Wformat do not mix.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 14 Sep 2014 21:39:15 +0000
(17:39 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 19 Sep 2014 13:26:51 +0000
(09:26 -0400)
cflags.SH
patch
|
blob
|
blame
|
history
diff --git
a/cflags.SH
b/cflags.SH
index
6bfa188
..
031b780
100755
(executable)
--- a/
cflags.SH
+++ b/
cflags.SH
@@
-317,6
+317,21
@@
case "$gccversion" in
;;
esac
+# The quadmath Q format specifier will cause -Wformat to whine.
+case "$gccversion" in
+'') ;;
+*) case "$usequadmath" in
+ define)
+ for f in -Wno-format
+ do
+ echo "cflags.SH: Adding $f because of usequadmath."
+ warn="$warn $f"
+ done
+ ;;
+ esac
+ ;;
+esac
+
case "$cc" in
*g++*)
# Extra paranoia in case people have bad canned ccflags: