summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-03-14 16:49:05 +0000
committerDavid Mitchell <davem@iabyn.com>2016-03-14 16:55:00 +0000
commitcc0bf92f2c5d6a67a850efa7d21a5a83e016d446 (patch)
tree0bbadf9d2ecab6dca9de2bf7fb24fafc6e500023 /Configure
parent9b2c64f15d3926b938688f7990ff65d783115fe7 (diff)
downloadperl-cc0bf92f2c5d6a67a850efa7d21a5a83e016d446.tar.gz
Configure: silence some try.c warnings
On one of the try.c compilations, redirect stderr to /dev/null, since the code can legitimately warn without there being a problem. The try.c in question is probing for what symbols the compiler supports. The clang extensions __has_include and __has_include_next are designed only to be used in .h files, so they warn if used from try.c
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 2546582f3c..04265b3d5a 100755
--- a/Configure
+++ b/Configure
@@ -23300,7 +23300,7 @@ case "$osname-$gccversion" in
irix-) ccflags="\$ccflags -woff 1178" ;;
os2-*) ccflags="\$ccflags -Zlinker /PM:VIO" ;;
esac
-$cc -o try -Dcpp_stuff=$cpp_stuff $optimize \$ccflags $ldflags try.c $libs && $run ./try | $sed 's/ /\\\\ /g'
+$cc -o try -Dcpp_stuff=$cpp_stuff $optimize \$ccflags $ldflags try.c $libs 2>/dev/null && $run ./try | $sed 's/ /\\\\ /g'
EOSH
chmod +x Cppsym.try
$eunicefix Cppsym.try