Hello Jeff, Wednesday, April 02, 2003, 3:44:37 AM, you wrote:
JP> I finally decided to make an attmept at compiling fpc from the CVS sources. JP> (fixes branch, 2003-04-01) JP> Everything went smooth, except for one small problem: JP> fpgtk.pp(3032,57) Error: Illegal parameter list JP> The code in question is this: JP> procedure TFPgtkObject.SignalEmit (aName:string; Args:array of const); JP> begin JP> gtk_signal_emit_by_name (TheGtkObject, pgchar(aName), Args); JP> end; JP> Apparently the compiler is getting confused about exactly what JP> a "const" is, when Args is passed from a regular function to a JP> cdecl function. JP> At any rate, changing the declaration to this: JP> procedure TFPgtkObject.SignalEmit (aName:string; Args:array of TVarRec); JP> - seems to solve (or at least hide) the problem. JP> __________________________________________________ JP> Do you Yahoo!? JP> Yahoo! Tax Center - File online, calculators, forms, and more JP> http://tax.yahoo.com JP> _______________________________________________ JP> fpc-devel maillist - [EMAIL PROTECTED] JP> http://lists.freepascal.org/mailman/listinfo/fpc-devel Did you test also {$Mode Delphi}? -- Best regards, Pavel mailto:[EMAIL PROTECTED] _______________________________________________ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel
