Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
On 5/1/2020 3:32 PM, Sven Barth via fpc-devel wrote: mailto:wkitt...@windstream.net>> schrieb am Fr., 1. Mai 2020, 21:12: when you click where? in what program? i use thunderbird and it has a "reply list" button that is default for most of the mailing lists i am subscribed to... For me "Reply to list" in Thunderbird always ends with no receiver at all. Another reason why I've resorted to "Reply to all". Works just fine for me here as well (T-Bird 68.7.0 om Windows 8.1). Ralf -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
schrieb am Fr., 1. Mai 2020, 21:12: > On 5/1/20 10:50 AM, Bart via fpc-devel wrote: > > On Fri, May 1, 2020 at 3:59 PM Sven Barth > wrote: > > > >> Bart had only replied to me, thus I fully quote his mail here. > > > > There is something fishy going on with this ML. > > Whenever I click on reply in this list, the reply doesn't go to the > > list, but to th private email of the person I respond to. > > This also happened when I responded to Michael. > > > when you click where? in what program? i use thunderbird and it has a > "reply > list" button that is default for most of the mailing lists i am subscribed > to... > For me "Reply to list" in Thunderbird always ends with no receiver at all. Another reason why I've resorted to "Reply to all". Regards, Sven > ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
On Fri, May 1, 2020 at 9:12 PM wrote: > when you click where? in what program? i use thunderbird and it has a "reply > list" button that is default for most of the mailing lists i am subscribed > to... The reply button in gmail. But, I just did that tot reply to you, and now it replies tot the list. -- Bart ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
On 5/1/20 10:50 AM, Bart via fpc-devel wrote: On Fri, May 1, 2020 at 3:59 PM Sven Barth wrote: Bart had only replied to me, thus I fully quote his mail here. There is something fishy going on with this ML. Whenever I click on reply in this list, the reply doesn't go to the list, but to th private email of the person I respond to. This also happened when I responded to Michael. when you click where? in what program? i use thunderbird and it has a "reply list" button that is default for most of the mailing lists i am subscribed to... -- NOTE: No off-list assistance is given without prior approval. *Please keep mailing list traffic on the list where it belongs!* ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
Bart schrieb am Fr., 1. Mai 2020, 16:50: > On Fri, May 1, 2020 at 3:59 PM Sven Barth > wrote: > > > Bart had only replied to me, thus I fully quote his mail here. > > There is something fishy going on with this ML. > Whenever I click on reply in this list, the reply doesn't go to the > list, but to th private email of the person I respond to. > This also happened when I responded to Michael. > I usually simply do a reply to all and be done with it. *shrugs* Regards, Sven ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
On Fri, May 1, 2020 at 4:50 PM Bart wrote: > I'll report back soon. Yeah, it works in the simple test case: C:\Users\Bart\LazarusProjecten\ConsoleProjecten>fpc -Fuc:\pp\units\i386-win32\rtl test.pas -vu Free Pascal Compiler version 3.2.0rc1 [2020/02/29] for i386 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Win32 for i386 Compiling test.pas (PROGRAM) Registering new unit SYSTEM (PROGRAM) Load from PROGRAM (implementation) unit SYSTEM (SYSTEM) Loading unit SYSTEM (SYSTEM) PPU Name: C:\pp\units\i386-win32\rtl\system.ppu (SYSTEM) PPU Invalid Version 208 It detects it's invalid and proceedts to use the one specified in fpc,cfg. (SYSTEM) PPU Name: C:\devel\fpc\3.2.0\units\i386-win32\rtl\system.ppu (SYSTEM) PPU Time: 2020/02/29 21:52:14 (SYSTEM) PPU Flags: 159873 (SYSTEM) PPU Crc: C3D1AAA3 (SYSTEM) PPU Crc: AA44BC17 (intfc) (SYSTEM) PPU Crc: 29EFF896 (indc) ... Successfully built. ATM I am very happy! -- Bart ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
On Fri, May 1, 2020 at 3:59 PM Sven Barth wrote: > Bart had only replied to me, thus I fully quote his mail here. There is something fishy going on with this ML. Whenever I click on reply in this list, the reply doesn't go to the list, but to th private email of the person I respond to. This also happened when I responded to Michael. > I need to correct myself: I was able to fix it in revision 45209, but > you'll have to recompile your trunk units for that. The reason it worked > for 3.0.4 was that 3.0.4 and 3.3.1 have different PPU versions, while > 3.2.0 and 3.3.1 hadn't (the new header was introduced shortly after > 3.2.0 was branched, thus there simply wasn't the need to increase the > version). I've now increased the version and as that is checked first > 3.2.0 should now behave with trunk units post-45209 like 3.0.4 does. That is great news!!! I will update my fpc trunk and install again. (Still the mystery remains why the Lazarus build mechanisme adds -Fu/c://pp/units/i386-win32/rtl as a parameter to the compiler.) I'll report back soon. -- Bart ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Fatal: Invalid PPU-File entry: 242
Bart had only replied to me, thus I fully quote his mail here. Am 01.05.2020 um 10:29 schrieb Bart: On Thu, Apr 30, 2020 at 11:43 PM Sven Barth wrote: Between 3.2.0 and 3.3.1 an additional PPU entry was introduced that carries an additional PPU version (the original version field is 1 Byte and we're already at 207). If a 3.2.0 compiler (or older) finds a 3.3.1 unit it will complain about an unknown header entry (which is a fatal error). As I have shown before, the fpc 3.0.4 compiler finds the 3.3.1 PPU and just ignores it. A 3.3.1 compiler that finds a 3.2.0 unit or older will complain about the missing header. It says the file doesn't start with PPU, which is a little wrong though... This is not fixable due to the way PPU files are parsed. Well, that sucks then. At least for my system that means that 3.2.0 and trunk (3.3.1) cannot co-exist. See https://forum.lazarus.freepascal.org/index.php/topic,49606.msg360032.html#msg360032 I'm at a loss ATM. I need to correct myself: I was able to fix it in revision 45209, but you'll have to recompile your trunk units for that. The reason it worked for 3.0.4 was that 3.0.4 and 3.3.1 have different PPU versions, while 3.2.0 and 3.3.1 hadn't (the new header was introduced shortly after 3.2.0 was branched, thus there simply wasn't the need to increase the version). I've now increased the version and as that is checked first 3.2.0 should now behave with trunk units post-45209 like 3.0.4 does. Regards, Sven ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Pure function development
I'm still learning these things - bear with me! I'll get one set up when I have something preliminary working. At the moment I haven't been able to unite the constant propagation code with my pure functions because they work in fundamentally different ways - for inline functions constant propagation makes a copy of a node tree then transmorphs them as it propagates the constants, while my code just takes the node tree and steps through it without modifying it. I guess there's merits for both approaches, but because of pure functions' ability to be recursive, I'm worried about malicious functions causing a massive ballooning of nodes and memory issues before the compiler detects an infinite loop (or one that is simply too long) before destroying all of the nodes again, throwing a warning and keeping the original call node. Also, there are places where nodes can't actually be used, like in the definition of constants, and they simply have to have their results calculated. We'll see though - this could prove to be insightful. Gareth aka. Kit -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Pure function development
> On May 1, 2020, at 4:05 PM, J. Gareth Moreton > wrote: > > Okay, I'll give that a try - do I need to post the entire FPC repository > there with my changes, or just the diff/patch files? It shows the diffs for you. Fork the FPC project on GitHub (https://github.com/genericptr/freepascal) then clone it locally and make a new branch. Then you can navigate to the feature branch, for example on my GitHub I have a branch for "static array initialization": https://github.com/genericptr/freepascal/tree/static_array_init If you can find the little compare button you'll get a URL like this: https://github.com/graemeg/freepascal/compare/master...genericptr:static_array_init That shows the commits and changed files as a diff. It happens all automatically so all you have to do is push changes (in your git client or what ever you use). Regards, Ryan Joseph ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Pure function development
Okay, I'll give that a try - do I need to post the entire FPC repository there with my changes, or just the diff/patch files? Gareth aka. Kit On 01/05/2020 07:01, Ryan Joseph via fpc-devel wrote: On May 1, 2020, at 6:46 AM, J. Gareth Moreton wrote: Is there a good way to show you guys the work in progress and for you to make more informed comments on the design along with any bugs and shortcomings? I'm making progress with make a pure factorial function, but it's nowhere near ready for general use. Do you have GitHub? if so put your work into a feature branch and we can browse your changes by looking at diffs. Regards, Ryan Joseph ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Pure function development
> On May 1, 2020, at 6:46 AM, J. Gareth Moreton > wrote: > > Is there a good way to show you guys the work in progress and for you to make > more informed comments on the design along with any bugs and shortcomings? > I'm making progress with make a pure factorial function, but it's nowhere > near ready for general use. Do you have GitHub? if so put your work into a feature branch and we can browse your changes by looking at diffs. Regards, Ryan Joseph ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel