[Lazarus] Problems compiling Laz trunk (with FPC trunk): FPC default parameters commit to blame?

Reinier Olislagers reinierolislagers at gmail.com
Fri Jun 8 12:48:23 CEST 2012


On 8-6-2012 11:02, Reinier Olislagers wrote:
> Windows
> FPC x86 r21539
> Lazarus r37586
> 
> Anybody else see something like this:
> C:/development/fpcbootstrap/make.exe -C lcl LCL_PLATFORM=nogui
<snip>
> lclintf.inc(36,10) Error: function header doesn't match the previous
> declaration "procedure
> AddEventHandler(LongWord;LongWord;TWaitHandleEvent;LongInt):^untyped;"
> 
> 
> Perhaps linked to FPC
> r21524 | jonas | 2012-06-08 00:36:39 +0200 (vr, 08 jun 2012) | 4 lines
> 
>   * give an error if a routine definition defines default values for
>     parameters that do not appear in forward/interface definitions
>     (mantis #19434)
>   * added test for #17136 already works

jshand2010 reported this in
http://bugs.freepascal.org/view.php?id=22229





More information about the Lazarus mailing list