Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On 19 November 2013 00:30, vfclists . wrote: > > I want to write a program to provide its own remote display without an X > Window server, ie the program has its own display which can be connected to > via VNC server. There is a libvncserver/libvnclient project at > http://libvncserver.sourceforge.net/ which enables one to do that, but I > don't know where to start or even know who all the parts come together. > > My main questions are: > > 1. Is it possible to direct the output of a Lazarus LCL program into such > a display system, or perhaps replace the parts where it interacts with X > Windows to such a system. > > 2. If I am willing go with X Windows is it possible to dedicate a single > X Window to a program alone, without using an Desktop Manager or Window > Manager and link it with VNC, as though it is the program alone that > displays on that X Window? > > 3. Is there some place I can get some more information about this RFB > system of display programs if that is the right term? > > -- > Frank Church=== > Thanks for the suggestions. By editing out most of the lines in ~/.vnc/xstartup I have been able to make some progress #!/bin/sh # xrdb $HOME/.Xresources # xsetroot -solid grey # x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & ~/program/program & #x-window-manager & # Fix to make GNOME work #export XKL_XMODMAP_DISABLE=1 # /etc/X11/Xsession I commented out everything except the command to run the program and I get a shaded gray screen with my program, but without the headers and menu which I suspect are placed there by the window manager. I have also noticed XTightvnc and its parameters in the process list and it looks to me that they are key to getting the results I need. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Lazarus 1.0.14 Release
The Lazarus team is glad to announce the release of Lazarus 1.0.14. This is a bug fix release, built with fpc 2.6.2. The previous releases from 1.0.8 to 1.0.12 were built with fpc 2.6.2 too, while release 1.0.6 was built with fpc 2.6.0. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Fixes_for_1.0.14_.28Merged.29 http://wiki.lazarus.freepascal.org/User_Changes_2.6.2 The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 1.0.14" directory. Minimum requirements: Windows: 98 FreeBSD/Linux: gtk 2.8 or qt4.5 Mac OS X: 10.5, LCL only 32bit, non LCL apps can be 64bit The svn tag is http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_14 For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: ftp://freepascal.dfmk.hu/pub/lazarus/releases/ and later at (after some time for synchronization) http://michael-ep3.physik.uni-halle.de/Lazarus/releases/ and http://mirrors.iwi.me/lazarus/ Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Help reading SQLite field with more than 255
Message-ID: Hi, The solution was: SQLQuery1.SQL.Text:='Select id_local, cast(xmp as blob) as xmp from Adobe_AdditionalMetadata'; Thank you Michael Van Canneyt for the tip! -Oorspronkelijk bericht- Van: mulcamd [mailto:mulc...@hotmail.com] Verzonden: dinsdag 19 november 2013 17:43 Aan: 'lazarus@lists.lazarus.freepascal.org' Onderwerp: Re: [Lazarus] Help reading SQLite field with more than 255 Date: Tue, 19 Nov 2013 09:27:23 +0100 (CET) From: Michael Van Canneyt Subject: Re: [Lazarus] Help reading SQLite field with more than 255 chars To: Lazarus mailing list Message-ID: Content-Type: text/plain; charset="iso-8859-7"; Format="flowed" On Mon, 18 Nov 2013, mulcamd wrote: > > I?m reading the SQLite database of Adobe Lightroom (SQLite). > > ? > > I want to process the AdditionalMetadata table, see below, the XMP field, which may be 3000 chars long. > > When retrieving the contents of this field I only get 255. > I cannot create the table with the SQL you posted. I get a Error: duplicate column name: from sqlite. Meanwhile you can try the following: First of all, make sure you are using an ansistring variable instead of a shortstring variable. If that is OK, and you still get only 255, try using a cast expression: Select id_local, cast (xmp as text)? from Adobe_AdditionalMetadata or Select id_local, cast (xmp as BLOB)? from Adobe_AdditionalMetadata Answer As you suggested I did a cast to text, yet the same result. So code below. Based on the ShowMessage () debug messages I added I get: i := SQLQuery1.FieldByName('id_local').AsInteger; ShowMessage(IntToStr(i)); ==> answer 205 myText := SQLQuery1.FieldByName('type').asString; ShowMessage(myText); ==> text. So I get the right type myText := SQLQuery1.FieldByName('xmp').asString; ShowMessage(IntToStr(Length(myText))); ==> 255 My code is: Code start var myText : String; myLine : String; List: TStrings; i: Integer; begin SQLite3Connection1.DatabaseName:='Test_v5.lrcat'; SQLite3Connection1.Transaction:=SQLTransaction1; SQLTransaction1.Database:=SQLite3Connection1; SQLQuery1.Database:=SQLite3Connection1; SQLQuery1.Transaction:=SQLTransaction1; SQLQuery1.SQL.Text:='Select id_local, cast(xmp as text) as xmp, typeof(cast(xmp as text)) as type from Adobe_AdditionalMetadata'; SQLQuery1.Open; SQLQuery1.Next; i := SQLQuery1.FieldByName('id_local').AsInteger; ShowMessage(IntToStr(i)); myText := SQLQuery1.FieldByName('type').asString; ShowMessage(myText); myText := SQLQuery1.FieldByName('xmp').asString; ShowMessage(IntToStr(Length(myText))); ShowMessage(myText); Code end -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Help reading SQLite field with more than 255
Date: Tue, 19 Nov 2013 09:27:23 +0100 (CET) From: Michael Van Canneyt Subject: Re: [Lazarus] Help reading SQLite field with more than 255 chars To: Lazarus mailing list Message-ID: Content-Type: text/plain; charset="iso-8859-7"; Format="flowed" On Mon, 18 Nov 2013, mulcamd wrote: > > I?m reading the SQLite database of Adobe Lightroom (SQLite). > > ? > > I want to process the AdditionalMetadata table, see below, the XMP field, which may be 3000 chars long. > > When retrieving the contents of this field I only get 255. > I cannot create the table with the SQL you posted. I get a Error: duplicate column name: from sqlite. Meanwhile you can try the following: First of all, make sure you are using an ansistring variable instead of a shortstring variable. If that is OK, and you still get only 255, try using a cast expression: Select id_local, cast (xmp as text)? from Adobe_AdditionalMetadata or Select id_local, cast (xmp as BLOB)? from Adobe_AdditionalMetadata Answer As you suggested I did a cast to text, yet the same result. So code below. Based on the ShowMessage () debug messages I added I get: i := SQLQuery1.FieldByName('id_local').AsInteger; ShowMessage(IntToStr(i)); ==> answer 205 myText := SQLQuery1.FieldByName('type').asString; ShowMessage(myText); ==> text. So I get the right type myText := SQLQuery1.FieldByName('xmp').asString; ShowMessage(IntToStr(Length(myText))); ==> 255 My code is: Code start var myText : String; myLine : String; List: TStrings; i: Integer; begin SQLite3Connection1.DatabaseName:='Test_v5.lrcat'; SQLite3Connection1.Transaction:=SQLTransaction1; SQLTransaction1.Database:=SQLite3Connection1; SQLQuery1.Database:=SQLite3Connection1; SQLQuery1.Transaction:=SQLTransaction1; SQLQuery1.SQL.Text:='Select id_local, cast(xmp as text) as xmp, typeof(cast(xmp as text)) as type from Adobe_AdditionalMetadata'; SQLQuery1.Open; SQLQuery1.Next; i := SQLQuery1.FieldByName('id_local').AsInteger; ShowMessage(IntToStr(i)); myText := SQLQuery1.FieldByName('type').asString; ShowMessage(myText); myText := SQLQuery1.FieldByName('xmp').asString; ShowMessage(IntToStr(Length(myText))); ShowMessage(myText); Code end -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Database and installation
> And I am not really looking forward to writing InstallShield from scratch for Windows if there is a better alternative. You haven't stated whether your program is for Windows or Linux but I am assuming that it is a Windows program. http://www.enterprisedb.com/products-services-training/pgbindownloadprovides binary installations of PostgreSQL. I haven't tried them yet but I believe they enable you to run PostgreSQL outside the standard installation, ie embeddeding them separately for your own programs. PostgreSQL enables you to run the postgres executable using different settings, ie different data directories, different port, authentication etc. If there are preinstalled executables you can use them to run against your own dedicated cluster and even configure it as a service. On 19 November 2013 12:49, Chavoux Luyt wrote: > Hi all > > I have used Lazarus with PostgreSQL in a client-server setup before. > It worked very well when I installed it at a client. > > I have also written desktop Delphi programs using Paradox as database > and InstallShield as the installer before, which worked very well for > distributing programs on CD (or DVD). What would be the best Lazarus > equivalent for this purpose? I.e. a program with a pre-existing, > populated database that can be distributed on (and installed from) a > CD or DVD by users. > > If I use PostgreSQL it would need to see if the Postgres RDMS has > already been installed on the desktop, install it if not, populate the > PostgreSQL database with the data on the CD and install the program > itself (with possibly adding a shortcut depending on the window > manager used). I have never studied .deb (much less) .rpm packages in > detail, so I am not sure if all of this functionality can be packed in > there. And I am not really looking forward to writing InstallShield > from scratch for Windows if there is a better alternative. > > Any ideas? > > Thanks > Chavoux > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Frank Church === http://devblog.brahmancreations.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Database and installation
On 19/11/2013 13:49, Chavoux Luyt wrote: > I have also written desktop Delphi programs using Paradox as database > and InstallShield as the installer before, which worked very well for > distributing programs on CD (or DVD). What would be the best Lazarus > equivalent for this purpose? I.e. a program with a pre-existing, > populated database that can be distributed on (and installed from) a > CD or DVD by users. Firebird embedded db file on cd (you need to set the read only flag inside the Firebird db, otherwise FB will try to use the file for some temporary storage. Don't know if that still is required with recent versions). Works fine on Windows; currently figuring out how to get FB embedded+FPC going on Linux, OSX. Sqlite may also work; haven't tried it read-only/on read-only media. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Database and installation
Hi all I have used Lazarus with PostgreSQL in a client-server setup before. It worked very well when I installed it at a client. I have also written desktop Delphi programs using Paradox as database and InstallShield as the installer before, which worked very well for distributing programs on CD (or DVD). What would be the best Lazarus equivalent for this purpose? I.e. a program with a pre-existing, populated database that can be distributed on (and installed from) a CD or DVD by users. If I use PostgreSQL it would need to see if the Postgres RDMS has already been installed on the desktop, install it if not, populate the PostgreSQL database with the data on the CD and install the program itself (with possibly adding a shortcut depending on the window manager used). I have never studied .deb (much less) .rpm packages in detail, so I am not sure if all of this functionality can be packed in there. And I am not really looking forward to writing InstallShield from scratch for Windows if there is a better alternative. Any ideas? Thanks Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On 11/19/2013 11:23 AM, Felipe Monteiro de Carvalho wrote: You could implement it as a new backend for LCL-CustomDrawn: http://wiki.freepascal.org/Custom_Drawn_Interface Looking at this page triggers long-wanted stuff: - a HTML backend that is able to be attached via HTTP (directly or via e.g. fastGCI or Microsoft IIS/ISAPI) - a "remote" backend that implements a propriety bi-directional byte-stream protocol that on the other site of the pipe can be attached by a Lazarus program serving as a "Custom-Drawn-Viewer" Is something like this planned in the foreseeable future ? Maybe one of these in effect is what the OP wants and "VNC" was just a variant that could be considered. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
Lukasz Sokol wrote: On 19/11/13 09:48, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Check out x11vnc - it can open an existing X screen and provide it for vnc connection - and xinit - lets you open new X screen, with or without a Window Manager. Noting that on unix VNC provides an X server, so if you could tell that to disregard the normal startup and run without a display manager etc. you could then draw onto it directly. AFAIK it requires special X invocation to start it, or additional vnc server program (or for the matter, a special build of X server, in Debian a separate package...) started if the session exists already - x11vnc does it for you (why would a program like Vino have to exist if this is achievable with just X ?) Standard VNC is /completely/ separate from the standard X server on any given system, except that some variant has the capability of "scraping" a pre-existing window for support purposes. I normally start up multiple copies in /etc/inittab, specifying what socket each is listening on; at that point any activity on the console X server (or even the absence of a console X server) is completely irrelevant. So the issue isn't starting VNC and keeping it separate from the console's X session, but is one of making sure that VNC doesn't fire up the default display/window managers. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On 19/11/13 09:48, Mark Morgan Lloyd wrote: > Lukasz Sokol wrote: > >> Check out x11vnc - it can open an existing X screen and provide it >> for vnc connection - and xinit - lets you open new X screen, with >> or without a Window Manager. > > Noting that on unix VNC provides an X server, so if you could tell > that to disregard the normal startup and run without a display > manager etc. you could then draw onto it directly. AFAIK it requires special X invocation to start it, or additional vnc server program (or for the matter, a special build of X server, in Debian a separate package...) started if the session exists already - x11vnc does it for you (why would a program like Vino have to exist if this is achievable with just X ?) Additionally x11vnc / vnc X server deals with encryption so if you work it over the Internet it's useful (and in a local network it's not like it isn't useful either - otherwise e.g. all the keystrokes are sent in open text) > > Another alternative would be some variant of FPGUI, wasn't somebody > looking at that on top of the svga library? > -L. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On Tue, Nov 19, 2013 at 1:30 AM, vfclists . wrote: > 1. Is it possible to direct the output of a Lazarus LCL program into such a > display system, or perhaps replace the parts where it interacts with X > Windows to such a system. You could implement it as a new backend for LCL-CustomDrawn: http://wiki.freepascal.org/Custom_Drawn_Interface -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fatal error on last svn lazarus make
Thanks to Mattias, in lazarus Revision 43462 FIXED 19-11-2013 11:50 tarihinde, Sven Barth yazdı: Am 19.11.2013 09:34 schrieb "Michael Van Canneyt" mailto:mich...@freepascal.org>>: > > > > On Tue, 19 Nov 2013, FreeMan wrote: > >> Hello, >> FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) >> >> after this fpc update, lazarus can NOT make, >> >> error is: >> project_misc_options.pas(94,43) Warning: unreachable code >> Compiling ./frames/project_resources_options.pas >> project_resources_options.pas(65,18) Error: Illegal assignment to for-loop variable "FileName" >> project_resources_options.pas(222) Fatal: There were 1 errors compiling module, stopping >> Fatal: Compilation aborted > > > This is normal and needs to be fixed in Lazarus. > > See bug ID 25329 in the bugtracker. Maybe this should be documented in User Changed Trunk if not done already... Afterall it's a difference to the 2.6 series. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On 11/19/2013 10:41 AM, Michael Schnell wrote: On 11/19/2013 01:30 AM, vfclists . wrote: I want to write a program to provide its own remote display without an X Window server, ie the program has its own display which can be connected to via VNC server. VNC server (in Linux) does provide an X server. So this should not be a problem of Lazarus, but of setting up the runtime environment appropriately. Second thought: You of course can do a program that opens a TCP/IP server socket and uses the (supposedly decently documented) VNC protocol on same. I understand this is rather easy if you just want to provide a rectangle of pixels (independent from the program's GUI) and have it displayed by the VNC client on a PC. If you want to remote the GUI of the Program without a trace of an X-Server (thus without using the VNC-Server product, but via a TCP/IP socket of your program itself), this might be possible by enhancing the "CustomDrawn" Widget Type appropriate. But supposedly this is a lot of work to do. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fatal error on last svn lazarus make
Am 19.11.2013 09:34 schrieb "Michael Van Canneyt" : > > > > On Tue, 19 Nov 2013, FreeMan wrote: > >> Hello, >> FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) >> >> after this fpc update, lazarus can NOT make, >> >> error is: >> project_misc_options.pas(94,43) Warning: unreachable code >> Compiling ./frames/project_resources_options.pas >> project_resources_options.pas(65,18) Error: Illegal assignment to for-loop variable "FileName" >> project_resources_options.pas(222) Fatal: There were 1 errors compiling module, stopping >> Fatal: Compilation aborted > > > This is normal and needs to be fixed in Lazarus. > > See bug ID 25329 in the bugtracker. Maybe this should be documented in User Changed Trunk if not done already... Afterall it's a difference to the 2.6 series. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
Lukasz Sokol wrote: Check out x11vnc - it can open an existing X screen and provide it for vnc connection - and xinit - lets you open new X screen, with or without a Window Manager. Noting that on unix VNC provides an X server, so if you could tell that to disregard the normal startup and run without a display manager etc. you could then draw onto it directly. Another alternative would be some variant of FPGUI, wasn't somebody looking at that on top of the svga library? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On 11/19/2013 01:30 AM, vfclists . wrote: I want to write a program to provide its own remote display without an X Window server, ie the program has its own display which can be connected to via VNC server. VNC server (in Linux) does provide an X server. So this should not be a problem of Lazarus, but of setting up the runtime environment appropriately. -Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] DateDif function needed
On 18/11/13 16:46, Hans-Peter Diettrich wrote: > Jürgen Hestermann schrieb: > >> I still find "CalenderDiff" the best name for this function >> because it clearly states that differences are calculated for calender >> dates and not for an homogeneous stream of seconds/hours/days. > > This raises immediately the next question: which calendar? > > DoDi > Western Gregorian ;) -L. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Writing a Lazarus program with its own display, RFB?
On 19/11/13 00:30, vfclists . wrote: > > I want to write a program to provide its own remote display without > an X Window server, ie the program has its own display which can be > connected to via VNC server. There is a libvncserver/libvnclient > project at http://libvncserver.sourceforge.net/ which enables one to > do that, but I don't know where to start or even know who all the > parts come together. > > My main questions are: [...] > 2. If I am willing go with X Windows is it possible to dedicate a > single X Window to a program alone, without using an Desktop Manager > or Window Manager and link it with VNC, as though it is the program > alone that displays on that X Window? > Check out x11vnc - it can open an existing X screen and provide it for vnc connection - and xinit - lets you open new X screen, with or without a Window Manager. -L. > -- > Frank Church > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fatal error on last svn lazarus make
On Tue, 19 Nov 2013, FreeMan wrote: Hello, FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) after this fpc update, lazarus can NOT make, error is: project_misc_options.pas(94,43) Warning: unreachable code Compiling ./frames/project_resources_options.pas project_resources_options.pas(65,18) Error: Illegal assignment to for-loop variable "FileName" project_resources_options.pas(222) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted This is normal and needs to be fixed in Lazarus. See bug ID 25329 in the bugtracker. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Help reading SQLite field with more than 255 chars
On Mon, 18 Nov 2013, mulcamd wrote: I’m reading the SQLite database of Adobe Lightroom (SQLite). I want to process the AdditionalMetadata table, see below, the XMP field, which may be 3000 chars long. When retrieving the contents of this field I only get 255. I cannot create the table with the SQL you posted. I get a Error: duplicate column name: from sqlite. Meanwhile you can try the following: First of all, make sure you are using an ansistring variable instead of a shortstring variable. If that is OK, and you still get only 255, try using a cast expression: Select id_local, cast (xmp as text) from Adobe_AdditionalMetadata or Select id_local, cast (xmp as BLOB) from Adobe_AdditionalMetadata Michael.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Fatal error on last svn lazarus make
so sorry, problem on FPC Revision 26108 FPC Revision 26107 is okey 19-11-2013 10:18 tarihinde, FreeMan yazdı: Hello, FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) after this fpc update, lazarus can NOT make, error is: project_misc_options.pas(94,43) Warning: unreachable code Compiling ./frames/project_resources_options.pas project_resources_options.pas(65,18) Error: Illegal assignment to for-loop variable "FileName" project_resources_options.pas(222) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted but FPC r20107 is okey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Fatal error on last svn lazarus make
Hello, FPC r20108: compiler: don't allow to assign to for-in loop variable (bug #0025318) after this fpc update, lazarus can NOT make, error is: project_misc_options.pas(94,43) Warning: unreachable code Compiling ./frames/project_resources_options.pas project_resources_options.pas(65,18) Error: Illegal assignment to for-loop variable "FileName" project_resources_options.pas(222) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted but FPC r20107 is okey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus