Hi,
following program Test
Program Test; var a :double; begin a:=10.0; Writeln(a :10:3, 10.0 :10:3); end.
outputs
0.000 0.000
but it should be
10.000 10.000
gpc without any parameters reports
ld32: WARNING 84: /usr/lib32/libm.so is not used for resolving any symbol. ld32: WARNING 85: definition of opterr in /tmp/puetzobq/usr/local/lib/gcc-lib/mi ps-sgi-irix6.2/2.8.1/libgpc.a(getopt.o) preempts that definition in /usr/lib32/m ips3/libc.so. ld32: WARNING 85: definition of optind in /tmp/puetzobq/usr/local/lib/gcc-lib/mi ps-sgi-irix6.2/2.8.1/libgpc.a(getopt.o) preempts that definition in /usr/lib32/m ips3/libc.so. ld32: WARNING 85: definition of optopt in /tmp/puetzobq/usr/local/lib/gcc-lib/mi ps-sgi-irix6.2/2.8.1/libgpc.a(getopt.o) preempts that definition in /usr/lib32/m ips3/libc.so. ld32: WARNING 85: definition of optarg in /tmp/puetzobq/usr/local/lib/gcc-lib/mi ps-sgi-irix6.2/2.8.1/libgpc.a(getopt.o) preempts that definition in /usr/lib32/m ips3/libc.so.
Integers and strings will be written correctly. I've tested other sizes of floating-point-vars, but nothing helps.
Regards Oliver
-- Oliver Puetz Tel.: 0234-700-2982 Lehrstuhl fuer Fluidenergiemaschinen Fax.: 0234-7094-358 Ruhr-Universitaet Bochum, Universitaetsstr. 150, 44801 Bochum opuetz@fem.ruhr-uni-bochum.de Gebaeude IB 4/141 www.ruhr-uni-bochum.de/www-public/volgmwbr/mitarb/puetz.htm