From: H.Merijn Brand Date: Tue, 21 Nov 2006 16:03:30 +0000 (+0000) Subject: Silence some warnings during Configure X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=33773f1a6c844b2c59f262a2b0f9af000d7d13b7;p=p5sagit%2Fp5-mst-13.2.git Silence some warnings during Configure p4raw-id: //depot/perl@29339 --- diff --git a/hints/hpux.sh b/hints/hpux.sh index be1a51e..4d105c7 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -188,7 +188,7 @@ toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"' gcc_64native=no case "$ccisgcc" in $define|true|[Yy]) - echo 'int main(){long l;printf("%d\\n",sizeof(l));}'>try.c + echo '#include \nint main(){long l;printf("%d\\n",sizeof(l));}'>try.c $cc -o try $ccflags $ldflags try.c if [ "`try`" = "8" ]; then cat <&4 @@ -336,6 +336,7 @@ else ## Optimization limits cat >try.c < #include int main ()