[fpc-devel] C++ Linking technology

2007-04-27 Thread Felipe Monteiro de Carvalho
Hallo, Another day Florian was talking about the cppclass, a experimental feature to link to c++ I would like to know: Could someone inherit a class based on cppclass with only external functions and then add to it it´s own methods and fields? If this doesn´t exist yet, I would say it would be

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Daniël Mantione
Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: Hallo, Another day Florian was talking about the cppclass, a experimental feature to link to c++ I would like to know: Could someone inherit a class based on cppclass with only external functions and then add to it it´s own

[fpc-devel] Undefined symbol: 'THREADVARLIST_CTYPES'

2007-04-27 Thread Felipe Monteiro de Carvalho
Hallo, From time to time I get an error while linking symbian os applications like this: mwldsym2.exe: Undefined symbol: 'THREADVARLIST_CTYPES' mwldsym2.exe: referenced from '.data' in QPasHello.o Most of the times I just remove all .o files and build everything again (including the

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread ik
On 4/27/07, Daniël Mantione [EMAIL PROTECTED] wrote: Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: Hallo, Another day Florian was talking about the cppclass, a experimental feature to link to c++ I would like to know: Could someone inherit a class based on cppclass with

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Michael Van Canneyt
On Fri, 27 Apr 2007, ik wrote: On 4/27/07, Daniël Mantione [EMAIL PROTECTED] wrote: Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: Hallo, Another day Florian was talking about the cppclass, a experimental feature to link to c++ I would like to know: Could

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Daniël Mantione
Op Fri, 27 Apr 2007, schreef ik: To be able to support such a thing you would have to implement all features of C++ objects into Pascal, effectively turning Pascal into C++ with a different syntax. The proper way would be to have the C++ class implement a Pascal interface, so it can

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Daniël Mantione
Op Fri, 27 Apr 2007, schreef Michael Van Canneyt: On Fri, 27 Apr 2007, ik wrote: On 4/27/07, Daniël Mantione [EMAIL PROTECTED] wrote: Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: Hallo, Another day Florian was talking about the cppclass, a experimental

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: Hallo, Another day Florian was talking about the cppclass, a experimental feature to link to c++ I would like to know: Could someone inherit a class based on cppclass with only external functions and then add to it it´s own methods and fields? No,

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Felipe Monteiro de Carvalho
On 4/27/07, Florian Klaempfl [EMAIL PROTECTED] wrote: No, because this really complicates things. C++ like vmt generation, contructor/destructor handling etc. Ah, ok. thanks. I guess I didn´t know exactly how the cppclass worked. -- Felipe Monteiro de Carvalho

RE: [fpc-devel] C++ Linking technology

2007-04-27 Thread peter green
They don't have to: the compilers/interpreters for these languages are written in C. All they need to do in the worst case is compile a small stub. For Pascal, the situation is not so simple, as there is no connection with C whatsoever. well there is nothing to stop you writing stubs in

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Marco van de Voort
On 4/27/07, Dani?l Mantione [EMAIL PROTECTED] wrote: How does other languages such as Perl/Ruby/Python (for example) etc, handle such connections ? With a big bag of money from ActiveState and O'Reilly? :-) ___ fpc-devel maillist -

[fpc-devel] Re: Undefined symbol: 'THREADVARLIST_CTYPES'

2007-04-27 Thread Felipe Monteiro de Carvalho
Oppps ... I forgot to give the ctypes unit to the linker =) thanks, -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel