diff options
author | David Mitchell <davem@iabyn.com> | 2016-03-14 16:49:05 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-03-14 16:55:00 +0000 |
commit | cc0bf92f2c5d6a67a850efa7d21a5a83e016d446 (patch) | |
tree | 0bbadf9d2ecab6dca9de2bf7fb24fafc6e500023 /Configure | |
parent | 9b2c64f15d3926b938688f7990ff65d783115fe7 (diff) | |
download | perl-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-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |