Re: [fpc-pascal] Incompleteness of current fix for #22860

2012-09-13 Thread Jonas Maebe
JC Chu wrote on Thu, 13 Sep 2012: Regarding bug #22860 on the inability to define enumeration members using expressions containing previously defined members of the same type, the current fix does not provide a complete solution. The current fix won’t allow for valid declarations such as TYPE

[fpc-pascal] FBAdmin

2012-09-13 Thread patspiper
A few questions regarding FBAdmin: - Will FBAdmin be backported to 2.6.1? - Will more functionality be added to it? In particular the setting of Forced Writes (I could perhaps supply a patch then). Stephano ___ fpc-pascal maillist - fpc-pascal@lis

Re: [fpc-pascal] C Enum vs. Integer

2012-09-13 Thread Guillermo Martínez Jiménez
> On 12 Sep 2012, at 19:11, Johann Glaser wrote: > >> Can I translate this 1:1, i.e., define an Enum in Pascal and just ignore >> the compiler warnings about reused values? >> >> Or should I rather define all these types as Integer and define >> constants for all values? > > It depends on whether y

Re: [fpc-pascal] FBAdmin

2012-09-13 Thread Ludo Brands
> A few questions regarding FBAdmin: > > - Will FBAdmin be backported to 2.6.1? > I can't comment on that. > - Will more functionality be added to it? In particular the > setting of > Forced Writes (I could perhaps supply a patch then). > Not from my side. Purpose of TFBAdmin was to provide

Re: [fpc-pascal] C Enum vs. Integer

2012-09-13 Thread Jonas Maebe
Guillermo Martínez Jiménez wrote on Thu, 13 Sep 2012: On 12 Sep 2012, at 19:11, Johann Glaser wrote: Can I translate this 1:1, i.e., define an Enum in Pascal and just ignore the compiler warnings about reused values? Or should I rather define all these types as Integer and define constants f

[fpc-pascal] Request for backport to FPC 2.6.1 + wiki page to keep track of backport requests/merges

2012-09-13 Thread Reinier Olislagers
Hi list, If possible, I'd like r22380 in trunk to be marked for backporting to FPC 2.6.1 as it fixes an internal compiler error. I've created a page on the wiki http://wiki.lazarus.freepascal.org/FPC_2.6.1_fixes_branch that may help keep track of what gets merged/what is on the list for merging.

Re: [fpc-pascal] Incompleteness of current fix for #22860

2012-09-13 Thread JC Chu
On Thu, Sep 13, 2012 at 4:17 PM, Jonas Maebe wrote: > I think one of the prime requirements to get readable code is that a > compilable expression always means the same. Other forms of polymorphism can also lead to violations of this requirement. Basically I think it should be left to the user

[fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
Hi, I received my Raspberry Pi today, and had a bit of a play. I'm using the Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a 3.5MB download), packaged by Paul Breneman. http://www.turbocontrol.com/easyfpgui.htm [Awesome work there, Paul. You can get much easier than

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Marcos Douglas
On Thu, Sep 13, 2012 at 12:34 PM, Graeme Geldenhuys wrote: > > Hi, > > I received my Raspberry Pi today, and had a bit of a play. I'm using the > Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a 3.5MB > download), packaged by Paul Breneman. > > http://www.turbocontrol.com/e

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: Hi, I received my Raspberry Pi today, and had a bit of a play. I'm using the Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a 3.5MB download), packaged by Paul Breneman. Nice one. All I had to do to get my projects to link successfully, was to

Re: [fpc-pascal] Request for backport to FPC 2.6.1 + wiki page to keep track of backport requests/merges

2012-09-13 Thread Marco van de Voort
In our previous episode, Reinier Olislagers said: > If possible, I'd like > r22380 in trunk to be marked for backporting to FPC 2.6.1 as it fixes an > internal compiler error. I already had tested it and it applies cleanly. As soon as I get a green light from a compiler developer that it is ok to

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Johann Glaser
Hi! Am Donnerstag, den 13.09.2012, 16:34 +0100 schrieb Graeme Geldenhuys: > Hi, > > I received my Raspberry Pi today, and had a bit of a play. I'm using the > Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a > 3.5MB download), packaged by Paul Breneman. > >http://www.

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
On 13/09/12 17:19, Mark Morgan Lloyd wrote: I think I've had to install those on any Debian system I've used for development, so for any change you'd be up against the entire Debian philosophy. Good luck. I don't think one needs to approach the Debian guys directly. I think one should only nee

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
On 13/09/12 17:35, Johann Glaser wrote: I also played with it, but only did a small "Hello World!" program. :-) :-) http://johann-glaser.blogspot.co.at/2012/06/raspberry-pi.html Thanks for the hint on your blog about making screenshots. I was just about to Google on how to do that from

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Den Jean
On Thursday 13 September 2012 19:55:04 Graeme Geldenhuys wrote: > normal 'xwd' or 'import' applications where not available (the latter I do not have a Rasberry, but I noticed that libqt4pas-dev is available in the packages (just like on the N900). Thx to Matthias Klumpp. Would you be so kind t

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Johann Glaser
Hi! Am Donnerstag, den 13.09.2012, 19:55 +0100 schrieb Graeme Geldenhuys: > On 13/09/12 17:35, Johann Glaser wrote: > > > > I also played with it, but only did a small "Hello World!" program. :-) > > :-) > > >http://johann-glaser.blogspot.co.at/2012/06/raspberry-pi.html > > Thanks for the h

Re: [fpc-pascal] C Enum vs. Integer

2012-09-13 Thread Johann Glaser
Hi! Am Donnerstag, den 13.09.2012, 15:45 +0200 schrieb Jonas Maebe: > Guillermo Martínez Jiménez wrote on Thu, 13 Sep 2012: > > >> On 12 Sep 2012, at 19:11, Johann Glaser wrote: > >> > >>> Can I translate this 1:1, i.e., define an Enum in Pascal and just ignore > >>> the compiler warnings about r

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Paul Breneman
Graeme Geldenhuys wrote: Hi, I received my Raspberry Pi today, and had a bit of a play. I'm using the Debian 6 OS with my Pi. I downloaded the FPC+fpGUI ARM archive (only a 3.5MB download), packaged by Paul Breneman. http://www.turbocontrol.com/easyfpgui.htm [Awesome work there, Paul. You

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > I think I've had to install those on any Debian system I've used for > > development, so for any change you'd be up against the entire Debian > > philosophy. Good luck. > > I don't think one needs to approach the Debian guys directly. I think >

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
On 13/09/12 22:20, Marco van de Voort wrote: Is that the old squeeze or Raspbian? I have the "wheezy" one, which I believe is Raspbian? Graeme. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/lis

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > Is that the old squeeze or Raspbian? > > I have the "wheezy" one, which I believe is Raspbian? As far as I got it (I'm sure Peter G. can explain it better): Wheezy is a debian designation. Afaik Debian only supports two ARM targets, armv5 (EAB

Re: [fpc-pascal] FPC + fpGUI + Raspberry Pi = fantastic

2012-09-13 Thread Graeme Geldenhuys
On 13/09/12 23:02, Marco van de Voort wrote: But the images from the PI website with "Wheezy" in their name are v5, and thus not hf. A month or so back, the PI foundation changed their default distro from "wheezy" (eabi,v5) to raspbian. Thanks for the info. I'll take a look of the foundation w

[fpc-pascal] Windows installer fails to add fpc binaries to PATH

2012-09-13 Thread Andrew Pennebaker
fpc.exe and related binaries are installed in C:\FPC\2.6.0\bin\i386-win32, but the installer does not add this directory to the PATH environment variable. Thus, opening a Command Prompt and typing "fpc" fails. For lack of a better install system, Advanced Installer

[fpc-pascal] Re: Windows installer fails to add fpc binaries to PATH

2012-09-13 Thread leledumbo
I don't even remember the installer ever tries to add something to PATH... -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Windows-installer-fails-to-add-fpc-binaries-to-PATH-tp5711238p5711239.html Sent from the Free Pascal - General mailing list archive at Nab

[fpc-pascal] Re: Function for checking correct file name

2012-09-13 Thread leledumbo
Nope AFAIR. Just build one yourself, it's easy. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Function-for-checking-correct-file-name-tp5711212p5711240.html Sent from the Free Pascal - General mailing list archive at Nabble.com. __

Re: [fpc-pascal] Re: Windows installer fails to add fpc binaries to PATH

2012-09-13 Thread Vincent Snijders
2012/9/14 leledumbo : > I don't even remember the installer ever tries to add something to PATH... > > Still, it does. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal