Inline keyword not recognized (+ work-around)
Fri, 19 Sep 1997 20:42:25 +0100 (MET)
Here is a minor problem (bug) in GPC:
According to the GPC documentaion you can define a function/procedure to be
inlined with the "inline" keyword, e.g.
inline function Max (a, b : Integer);
begin
(* CODE *)
end;
This does not work in the 970714 distribution (DJGPP precompiled binary).
However the
__inline__
keyword (two underscores before and after inline) *is* recognized by the
compiler, and correctly inlines the function/procedure (when compiled with
optimization, of course).
Jesper Lund
Jesper Lund (jel@hha.dk)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es