Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote: 1) This is not Delphi/Kylix compatible (just try to compile Qt.pas) This is known, but is unfortunately unavoidable. Delphi/Kylix uses an internal linker and can therefore solve this problem. FPC has to use an external linker, and therefore the assembler label must be fi

Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Michael . VanCanneyt
On Thu, 2 Dec 2004, Peter Vreman wrote: > >>2) This breaks a lot of existing code, especially bindings ( I will > >> need to move 3283 external directives in my qte binding) > > > > This is known, but can't be helped. > > Simple solution: Put them in an include file. Also the interface > de

Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Peter Vreman
>>2) This breaks a lot of existing code, especially bindings ( I will >> need to move 3283 external directives in my qte binding) > > This is known, but can't be helped. Simple solution: Put them in an include file. Also the interface declarations for kylix. For FPC only use the include file w

Re: [fpc-pascal] Error: Can't declare procedure as EXTERNAL

2004-12-02 Thread Michael . VanCanneyt
On Thu, 2 Dec 2004, Den Jean wrote: > Hi, > > the new FPC CVS release of 29/11 forbids > delphi / kylix type of library use > > eg > > -- > interface > > function QObjectList_create: