I finally decided to make an attmept at compiling fpc from the CVS sources. (fixes branch, 2003-04-01)
Everything went smooth, except for one small problem:
fpgtk.pp(3032,57) Error: Illegal parameter listThe code in question is this:
procedure TFPgtkObject.SignalEmit (aName:string; Args:array of const);
begin
gtk_signal_emit_by_name (TheGtkObject, pgchar(aName), Args);
end;Apparently the compiler is getting confused about exactly what a "const" is, when Args is passed from a regular function to a cdecl function.
At any rate, changing the declaration to this:
procedure TFPgtkObject.SignalEmit (aName:string; Args:array of TVarRec);- seems to solve (or at least hide) the problem.
__________________________________________________ Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
