Hi all,
I have found a strange bug which popped up in the last beta.
when compiling the following short program
program bug;
var x:real; y:LongReal;
begin
x:=1; y:=1;
writeln(cos(x));
writeln(cos(y));
writeln(cos(pi*x));
end.
the linker says that it cannot find module cosl
in the lines containing the second and third writeln
which demand for cos(longreal) either directly
or indirecly (presumably pi is long real).
It popped up when I tried to recompile old programs
which used a lot of cos(pi* ).
With grep I do not find cosl (and sinl)
in any library, only in gpc1.exe (and similars
cc1.exe cc1plus.exe f771.exe).
Have I missed something in the installation ?
(I work with DJGPP / gpc-19990118_i386-pc-djgppv201.zip)
thanks in advance !
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: +33 (0)4 76 51 47 51
Fax: +33 (0)4 76 51 45 44
mailto:Maurice.Lombardi@ujf-grenoble.fr