diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-14 17:39:15 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-09-19 09:26:51 -0400 |
commit | 78e91e3f8a5c269162712a52608b3b727352d602 (patch) | |
tree | d298181f046e99e98de66e1e2b909e5b4c3ddecd /cflags.SH | |
parent | a4eca1d4e93229f61c43cff9ccf327446a06c800 (diff) | |
download | perl-78e91e3f8a5c269162712a52608b3b727352d602.tar.gz |
quadmath Q format specifier and gcc -Wformat do not mix.
Diffstat (limited to 'cflags.SH')
-rwxr-xr-x | cflags.SH | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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: |