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

Reinier Olislagers reinierolislagers at gmail.com
Fri Jun 8 11:02:04 CEST 2012


Windows
FPC x86 r21539
Lazarus r37586

Anybody else see something like this:
C:/development/fpcbootstrap/make.exe -C lcl LCL_PLATFORM=nogui
make.exe[1]: Entering directory `C:/development/lazarus_fpctrunk/lcl'
C:/development/fpcbootstrap/rm.exe -f units/i386-win32/alllclunits.ppu
C:/development/fpctrunk/bin/i386-win32/fpc.exe -gl
-Fu../packager/units/i386-win32 -Fu../components/lazutils/lib/i386-win32
-Fu. -Fuforms -Fuwidgetset
-FuC:/development/fpctrunk/rtl/units/i386-win32 -Fiinclude -FE.
-FUunits/i386-win32 -gw -gl -di386 alllclunits.pp
Free Pascal Compiler version 2.7.1 [2012/06/08] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling alllclunits.pp
Compiling barchart.pp
Compiling lclintf.pas
Compiling themes.pas
Compiling graphics.pp
Compiling intfgraphics.pas
Compiling graphics.pp
Compiling lclintf.pas
Compiling themes.pas
Compiling lclintf.pas
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

Thanks,
Reinier




More information about the Lazarus mailing list