Hello,
In my process of getting gpc to compile under OS/2, I've been
trying some example code and Peter recommended trying stuff like
writing longints to see if the new features in 971001 were working.
Well, I tried the following:
-=-=-=-=-
program testlongint(output);
Var
i : longint;
begin
i := 1;
writeln(i);
end.
=-=-=-=-=
It compiles fine, but for output I get simply:
[C:\kevin\pascal\gpc-test]longint
qd
Any ideas as to what might be going wrong? From looking through the
new RTS code, 'qd' is the format that is used for longints,
(RTS-WRTI.C) but I don't know what the 'q' is supposed to do as it
isn't a standard printf() style format (AFAIK) and I don't see code to
parse 'q' in vasprintf.c either -- which I believe is the function that
eventually gets called.
But I imagine I just have some problem somewhere in my port... so any
ideas what would cause this?
-Kevin
--
Kevin A. Foss --- kfoss(a)mint.net
--