Sign in Join

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

Mailing lists / fpc-devel / 2005-09

compilation error

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Jan Ruzicka

Hi all

there seems to be a glitch in compiling rtl/unix/baseunix.pp as it chokes on include bunxovl.inc.
A bunch of "Error: Calling convention doesn't match forward" is spewed. (see [2])
A quick look around shows some mismatch between definition of parameters for functions [1].

Jan

[1] function parameters
unix/bunxh.inc:29: Function FpLink (existing : pChar; newone : pChar): cInt;
unix/bunxovl.inc:23:Function FpLink (existing : AnsiString; newone : AnsiString): cInt;

bunxh.inc:32:    Function  FpChown      (path : pChar; owner : TUid;
group : TGid): cInt;
bunxovl.inc:38:Function  FpChown (path : AnsiString; owner : TUid;
group : TGid): cInt;
[2] errors from make all
bunxovl.inc(23,11) Error: Calling convention doesn't match forward
bunxovl.inc(28,11) Error: Calling convention doesn't match forward
bunxovl.inc(33,11) Error: Calling convention doesn't match forward
bunxovl.inc(38,11) Error: Calling convention doesn't match forward
bunxovl.inc(43,11) Error: Calling convention doesn't match forward
bunxovl.inc(66,11) Error: Calling convention doesn't match forward
bunxovl.inc(71,11) Error: Calling convention doesn't match forward
bunxovl.inc(77,11) Error: Calling convention doesn't match forward
bunxovl.inc(82,11) Error: Calling convention doesn't match forward
bunxovl.inc(88,11) Error: Calling convention doesn't match forward
bunxovl.inc(93,11) Error: Calling convention doesn't match forward
bunxovl.inc(98,11) Error: Calling convention doesn't match forward
bunxovl.inc(103,11) Error: Calling convention doesn't match forward
bunxovl.inc(108,11) Error: Calling convention doesn't match forward
bunxovl.inc(113,10) Error: Calling convention doesn't match forward
bunxovl.inc(118,11) Error: Calling convention doesn't match forward
bunxovl.inc(126,11) Error: Calling convention doesn't match forward
bunxovl.inc(167,11) Error: Calling convention doesn't match forward
bunxovl.inc(173,11) Error: Calling convention doesn't match forward
bunxovl.inc(184,11) Error: Calling convention doesn't match forward
bunxovl.inc(204,11) Error: Calling convention doesn't match forward
bunxovl.inc(224,10) Error: Calling convention doesn't match forward
bunxovl.inc(240,10) Error: Calling convention doesn't match forward
bunxovl.inc(277,10) Error: Calling convention doesn't match forward
bunxovl.inc(286,11) Error: Calling convention doesn't match forward
baseunix.pp(71) Fatal: There were 25 errors compiling module, stopping
baseunix.pp(71) Error: Compilation aborted
make[7]: *** [baseunix.ppu] Error 1
make[6]: *** [darwin_all] Error 2
make[5]: *** [rtl] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.powerpc-darwin] Error 2

Reply by email

Peter Vreman
to Jan Ruzicka
Show quoted text 8 lines
Hi all there seems to be a glitch in compiling rtl/unix/baseunix.pp as it chokes on include bunxovl.inc. A bunch of "Error: Calling convention doesn't match forward" is spewed. (see [2]) A quick look around shows some mismatch between definition of parameters for functions [1].

Fixed

Reply by email

Marco van de Voort
to Jan Ruzicka: Hi all there seems to be a glitch in compiling rtl/unix/baseunix.pp as it chokes on…
Show quoted text 6 lines
there seems to be a glitch in compiling rtl/unix/baseunix.pp as it chokes on include bunxovl.inc. A bunch of "Error: Calling convention doesn't match forward" is spewed. (see [2]) A quick look around shows some mismatch between definition of parameters for functions [1].

I can't quickly test under darwin, but see if removing the "inline"'s in unix/bunxovlh.inc helps.

Reply by email