Re: [fpc-devel] PPU version checking

2013-02-26 Thread Michael Van Canneyt
On Tue, 26 Feb 2013, Marco van de Voort wrote: In our previous episode, John Lee said: This sounds like the best plan if one has several .ppus - as some ppl seem to have & no source code, that should - but not sure what's involved with writing the wrapper. Could the whole thing be written in

Re: [fpc-devel] PPU version checking

2013-02-26 Thread Marco van de Voort
In our previous episode, John Lee said: > This sounds like the best plan if one has several .ppus - as some ppl seem > to have & no source code, that should - but not sure what's involved with > writing the wrapper. Could the whole thing be written in fpc pascal? > > Would it be easy to reuse the

Re: [fpc-devel] PPU version checking

2013-02-26 Thread John Lee
This sounds like the best plan if one has several .ppus - as some ppl seem to have & no source code, that should - but not sure what's involved with writing the wrapper. Could the whole thing be written in fpc pascal? Would it be easy to reuse the wrapper for different .ppus? If so this'd be usef

Re: [fpc-devel] PPU version checking

2013-02-26 Thread Sven Barth
Am 26.02.2013 07:33 schrieb "Hans-Peter Diettrich" : > > Tomas Hajny schrieb: > >>> If you'd disable the check you would not be able to use e.g. a 2.4 unit >>> with 2.6, because the PPU format is different and thus you'd definitely >>> (not just perhaps!) get errors when the compiler reads the PPU

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Hans-Peter Diettrich
Tomas Hajny schrieb: If you'd disable the check you would not be able to use e.g. a 2.4 unit with 2.6, because the PPU format is different and thus you'd definitely (not just perhaps!) get errors when the compiler reads the PPU file. In other words: _If_ someone is motivated enough for such a t

Re: [fpc-devel] PPU version checking

2013-02-25 Thread waldo kitty
On 2/25/2013 02:27, silvioprog wrote: 2013/2/21 Florian Klämpfl mailto:flor...@freepascal.org>> Am 21.02.2013 19:43, schrieb silvioprog: > Hello, > > I generates some PPUs in a version of FPC. I try to use it in other > version of FPC, but it not compiles. > > S

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Florian Klämpfl
Am 25.02.2013 15:39, schrieb John Lee: > I'm guessing that you'd need to be pretty au fait with fpc internals & > the code to do this eg because there's no spec, and no tools to help? J ppudump. If I'd lost the source of a unit I need (if the unit isn't too big), I'd just ppudump the .ppu and wri

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Tomas Hajny
On Mon, February 25, 2013 15:39, John Lee wrote: > I'm guessing that you'd need to be pretty au fait with fpc internals & the > code to do this eg because there's no spec, and no tools to help? J One would need to combine the original version of the PPU loader (as included within the compiler sour

Re: [fpc-devel] PPU version checking

2013-02-25 Thread silvioprog
2013/2/25 Sven Barth > On 25.02.2013 15:19, silvioprog wrote: > >> 2013/2/25 DaWorm mailto:daw...@gmail.com>> >> >> Is the project one that can use shared libraries? Or does the code >> require inheritance from the code you want to hide the >> implementation of? >> >> Jeff. >> >>

Re: [fpc-devel] PPU version checking

2013-02-25 Thread John Lee
I'm guessing that you'd need to be pretty au fait with fpc internals & the code to do this eg because there's no spec, and no tools to help? J > > > In other words: _If_ someone is motivated enough for such a task, it would > be possible to create a convertor from one PPU version to another (and I

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Sven Barth
On 25.02.2013 15:19, silvioprog wrote: 2013/2/25 DaWorm mailto:daw...@gmail.com>> Is the project one that can use shared libraries? Or does the code require inheritance from the code you want to hide the implementation of? Jeff. Is the code for a component that will be commer

Re: [fpc-devel] PPU version checking

2013-02-25 Thread silvioprog
2013/2/25 DaWorm > Is the project one that can use shared libraries? Or does the code > require inheritance from the code you want to hide the implementation of? > > Jeff. > Is the code for a component that will be commercial. It will use classes and inheritance. -- Silvio Clécio My public pr

Re: [fpc-devel] PPU version checking

2013-02-25 Thread DaWorm
Is the project one that can use shared libraries? Or does the code require inheritance from the code you want to hide the implementation of? Jeff. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Tomas Hajny
On Mon, February 25, 2013 13:42, Sven Barth wrote: > On 25.02.2013 13:08, John Lee wrote: >> This is a major pain to quite a few users - I have some units for which >> source is lost from v2.4. Surely some of the reasons for the changes in >> ppu version would _not_ cause a problem with later versi

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Sven Barth
On 25.02.2013 13:08, John Lee wrote: This is a major pain to quite a few users - I have some units for which source is lost from v2.4. Surely some of the reasons for the changes in ppu version would _not_ cause a problem with later versions if one isn't using this particular feature? This is th

Re: [fpc-devel] PPU version checking

2013-02-25 Thread John Lee
This is a major pain to quite a few users - I have some units for which source is lost from v2.4. Surely some of the reasons for the changes in ppu version would _not_ cause a problem with later versions if one isn't using this particular feature? Maybe someone could generate a (binary?) patch to

Re: [fpc-devel] PPU version checking

2013-02-25 Thread silvioprog
2013/2/25 Sven Barth > Am 25.02.2013 08:27 schrieb "silvioprog" : > > > > 2013/2/21 Florian Klämpfl > >> > >> Am 21.02.2013 19:43, schrieb silvioprog: > >> > Hello, > >> > > >> > I generates some PPUs in a version of FPC. I try to use it in other > >> > version of FPC, but it not compiles. > >>

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Sven Barth
Am 25.02.2013 08:27 schrieb "silvioprog" : > > 2013/2/21 Florian Klämpfl >> >> Am 21.02.2013 19:43, schrieb silvioprog: >> > Hello, >> > >> > I generates some PPUs in a version of FPC. I try to use it in other >> > version of FPC, but it not compiles. >> > >> > So, can I disable the PPU version ch

Re: [fpc-devel] PPU version checking

2013-02-24 Thread silvioprog
2013/2/21 Florian Klämpfl > Am 21.02.2013 19:43, schrieb silvioprog: > > Hello, > > > > I generates some PPUs in a version of FPC. I try to use it in other > > version of FPC, but it not compiles. > > > > So, can I disable the PPU version checking to I use my PPUs in any > > versions of FPC? > >

Re: [fpc-devel] PPU version checking

2013-02-24 Thread silvioprog
2013/2/21 Sven Barth > On 21.02.2013 19:43, silvioprog wrote: > >> Hello, >> >> I generates some PPUs in a version of FPC. I try to use it in other >> version of FPC, but it not compiles. >> >> So, can I disable the PPU version checking to I use my PPUs in any >> versions of FPC? >> > > No you ca

Re: [fpc-devel] PPU version checking

2013-02-21 Thread Florian Klämpfl
Am 21.02.2013 19:43, schrieb silvioprog: > Hello, > > I generates some PPUs in a version of FPC. I try to use it in other > version of FPC, but it not compiles. > > So, can I disable the PPU version checking to I use my PPUs in any > versions of FPC? It won't help, we don't change the ppu versio

Re: [fpc-devel] PPU version checking

2013-02-21 Thread Sven Barth
On 21.02.2013 19:43, silvioprog wrote: Hello, I generates some PPUs in a version of FPC. I try to use it in other version of FPC, but it not compiles. So, can I disable the PPU version checking to I use my PPUs in any versions of FPC? No you can't. The PPU version is there for a purpose. We i