[fpc-pascal] Documentation site: incorrect manual name
On http://www.freepascal.org/docs-html/ I find FCL (Free Class Library) reference manual. however the doc itself (and the 2.6 PDF) specifies Free Component Library Could this be changed on the site? Does this need to be changed in Lazarus default online help settings as well? Thanks, Reinier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Error: Duplicate identifier "FarPointer"
Same problem here but much funnier FPC message: Makefile:2704: *** The only supported starting compiler version is 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop. So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2. IMHO that's not as intended. But it may be a problem of the create_fpc_deb script provided by Lazarus so from my side there is no need for any actions. Just wanted to share that funny message. R. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Error: Duplicate identifier "FarPointer"
On 16 May 2013, at 14:46, Reimar Grabowski wrote: Same problem here but much funnier FPC message: Makefile:2704: *** The only supported starting compiler version is 2.7.1. You are trying to build with 2.6.2. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop. So I had to use OVERRIDEVERSIONCHECK=1 to build my 2.7.1 with 2.6.2. IMHO that's not as intended. But it may be a problem of the create_fpc_deb script provided by Lazarus so from my side there is no need for any actions. Just wanted to share that funny message. It is indeed a bug in Lazarus' build scripts (also for the rpms). For some reason they first replace a bunch of version numbers in the Makefile. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Examples of tiOPF logging in the wild
Are there some examples of using tiOPF logging besides those in the demos? I want to use tiLogToGUI, but I am not happy with the amount of screen space it takes. Is there some way it can be adapted or themed to be tidier or smaller? The code gives the impression that it can be embedded or extended in another form or is that a misconception on my part? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] TProcess, Batch script and Windows
On Wed, 15 May 2013, Marcos Douglas wrote: Hi, I want to execute a batch file on Windows (FPC 2.6.2 and Laz trunk) using TProcess class. It ONLY works if I use the [poWaitOnExit] and DO NOT USE [poNoConsole] options. I do not want to see the console so, I need to use [poNoConsole] option. Is this a bug? As far as I know, batch files need CMD and that needs a console ? Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: Documentation site: incorrect manual name
I think it's the documentation source that needs to be updated, FCL always means Free Component Library. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Documentation-site-incorrect-manual-name-tp5714811p5714827.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: TProcess, Batch script and Windows
Try this trick: Options := [poNewConsole]; ShowWindow := swoHIDE; -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/TProcess-Batch-script-and-Windows-tp5714812p5714828.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] TProcess, Batch script and Windows
On Thu, May 16, 2013 at 12:51 PM, Michael Van Canneyt wrote: > > > On Wed, 15 May 2013, Marcos Douglas wrote: > >> Hi, >> >> I want to execute a batch file on Windows (FPC 2.6.2 and Laz trunk) >> using TProcess class. >> It ONLY works if I use the [poWaitOnExit] and DO NOT USE [poNoConsole] >> options. >> >> I do not want to see the console so, I need to use [poNoConsole] >> option. Is this a bug? > > > As far as I know, batch files need CMD and that needs a console ? I saw then: http://www.freepascal.org/docs-html/fcl/process/tprocess.options.html poNoConsole = Do not allow access to the console window for the process (Win32 only) So the "correct" is do not use poNoConsole! I saw after: http://www.freepascal.org/docs-html/fcl/process/tprocess.showwindow.html TProcess.ShowWindow = Determines how the process main window is shown (Windows only) I do not understood why the interface of TProcess have a property that only works on Windows... but works. Thank you anyway. Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: TProcess, Batch script and Windows
On Thu, May 16, 2013 at 1:31 PM, leledumbo wrote: > Try this trick: Options := [poNewConsole]; ShowWindow := swoHIDE; > Yep. Thanks, I saw... unfortunate a long time after. Thank you. Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Re: [FPC 0024437]: can not build RTL with 2.7.1 compiler
-- > (0067718) Vincent Snijders (manager) - 2013-05-16 18:39 > http://bugs.freepascal.org/view.php?id=24437#c67718 > -- > That compiler is too old, it should be the same revision as the RTL source. > > -- > (0067719) Jonas Maebe (manager) - 2013-05-16 18:57 > http://bugs.freepascal.org/view.php?id=24437#c67719 > -- > No, the starting compiler is too new. Compiling a new compiler directly > using an > old compiler and old RTL (in order to then compile the new RTL with the > resulting compiler) is not supported either. > > The only procedure that has always been supported and always only will be > supported is a "make all" in the top level FPC directory starting with the > latest release. > > Compiling the RTL of revision 24514 with a compiler of revision 24514 is supported, isn't it? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: [FPC 0024437]: can not build RTL with 2.7.1 compiler
On 16 May 2013, at 19:31, Vincent Snijders wrote: > -- >> (0067718) Vincent Snijders (manager) - 2013-05-16 18:39 >> http://bugs.freepascal.org/view.php?id=24437#c67718 >> -- >> That compiler is too old, it should be the same revision as the RTL source. >> >> -- >> (0067719) Jonas Maebe (manager) - 2013-05-16 18:57 >> http://bugs.freepascal.org/view.php?id=24437#c67719 >> -- >> No, the starting compiler is too new. Compiling a new compiler directly >> using an >> old compiler and old RTL (in order to then compile the new RTL with the >> resulting compiler) is not supported either. >> >> The only procedure that has always been supported and always only will be >> supported is a "make all" in the top level FPC directory starting with the >> latest release. >> >> > Compiling the RTL of revision 24514 with a compiler of revision 24514 is > supported, isn't it? Yes, but your message could be interpreted as suggesting that this person, who was clearly calling Makefiles in subdirectories directly rather than using the top-level Makefile, should have first compiled the new compiler directly, and then compile the new RTL using this new compiler. Given the amazingly creative ways in which people manage to keep trying to compile FPC in unsupported ways, I did not want anyone to get the idea that this would be a good approach. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal