diff options
Diffstat (limited to 'mcon/U/d_casti32.U')
-rw-r--r-- | mcon/U/d_casti32.U | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mcon/U/d_casti32.U b/mcon/U/d_casti32.U index 7a0a189..7d24f08 100644 --- a/mcon/U/d_casti32.U +++ b/mcon/U/d_casti32.U @@ -1,12 +1,12 @@ -?RCS: $Id: d_casti32.U,v 3.0.1.3 1995/05/12 12:10:45 ram Exp $ +?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root -?RCS: of the source tree for dist 3.0. +?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu> ?RCS: @@ -36,6 +36,7 @@ ?T:xxx yyy ?H:#$d_casti32 CASTI32 /**/ ?H:. +?F:!try ?LINT:set d_casti32 : check for ability to cast large floats to 32-bit ints. echo " " @@ -49,7 +50,7 @@ $cat >try.c <<EOCP #include <sys/types.h> #include <signal.h> $signal_t blech() { exit(3); } -main() +int main() { $xxx i32; double f; @@ -65,7 +66,7 @@ main() exit(result); } EOCP -if $cc -o try $ccflags try.c >/dev/null 2>&1; then +if $cc $ccflags -o try try.c >/dev/null 2>&1; then ./try yyy=$? else |