This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
metaconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12e75c
)
Hide compile warnings for try.c in compile_ok
author
H.Merijn Brand - Tux
<h.m.brand@xs4all.nl>
Thu, 2 Aug 2018 13:04:12 +0000
(15:04 +0200)
committer
H.Merijn Brand - Tux
<h.m.brand@xs4all.nl>
Thu, 2 Aug 2018 13:04:12 +0000
(15:04 +0200)
We don't want the compilation warnings. We do want the output of try
when it uses $run
Backport of
44a61463
U/compline/Compile.U
patch
|
blob
|
blame
|
history
diff --git
a/U/compline/Compile.U
b/U/compline/Compile.U
index
3de1bb8
..
d4f0c9b
100644
(file)
--- a/
U/compline/Compile.U
+++ b/
U/compline/Compile.U
@@
-57,5
+57,5
@@
$cc -o ${mc_file} $optimize $ccflags $ldflags $* ${mc_file}.c $libs > /dev/null
compile_ok='
mc_file=$1;
shift;
-$cc -o ${mc_file} $optimize $ccflags $ldflags $* ${mc_file}.c $libs;'
+$cc -o ${mc_file} $optimize $ccflags $ldflags $* ${mc_file}.c $libs
> /dev/null 2>&1
;'