13 Feb
2001
13 Feb
'01
2:07 p.m.
Hi all I´m using gpc as a cross compiler (from sparc to ppc) and I have many old files from an irix/mips pascal compiler and in one file I got some problem. It seemes that the new gpc (20010201) does not manage to handle a calculation in a type casting statement. The code doesn´t get through the compiler. Example: Program bug; Var m:real; a:integer; begin m :=10.0; a := integer(m*1000); (* line 7 *) writeln; end. ->gpc -c bug.p bug.p: In main program: bug.p:7: warning: cast to type of different size bug.p:7: reference expected, value given -> /Björn Persson
9313
Age (days ago)
9313
Last active (days ago)
1 comments
2 participants
participants (2)
-
bpn -
Frank Heckenbach