Re: [fpc-devel] PPU version checking

2013-02-25 Thread Sven Barth
Am 25.02.2013 08:27 schrieb silvioprog silviop...@gmail.com: 2013/2/21 Florian Klämpfl 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. So, can I disable

Re: [fpc-devel] PPU version checking

2013-02-25 Thread silvioprog
2013/2/25 Sven Barth pascaldra...@googlemail.com Am 25.02.2013 08:27 schrieb silvioprog silviop...@gmail.com: 2013/2/21 Florian Klämpfl 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

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 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

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 versions if

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

Re: [fpc-devel] PPU version checking

2013-02-25 Thread silvioprog
2013/2/25 DaWorm 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 commercial. It will use classes and inheritance. -- Silvio Clécio

Re: [fpc-devel] PPU version checking

2013-02-25 Thread Sven Barth
On 25.02.2013 15:19, silvioprog wrote: 2013/2/25 DaWorm daw...@gmail.com 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

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 silvioprog
2013/2/25 Sven Barth pascaldra...@googlemail.com On 25.02.2013 15:19, silvioprog wrote: 2013/2/25 DaWorm daw...@gmail.com 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

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 source

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 write

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 flor...@freepascal.org 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

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