Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-06

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

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

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

Reply by email

Reinier Olislagers
to Reinier Olislagers
Reinier Olislagers wrote 6 lines
Windows FPC x86 r21539 Lazarus r37586 Anybody else see something like this: C:/development/fpcbootstrap/make.exe -C lcl LCL_PLATFORM=nogui

<snip>

Show quoted text 12 lines
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

Reply by email