On Sat, 9 Feb 2008 22:04:33 +0200
ik <[EMAIL PROTECTED]> wrote:
> It's simple, you declared a prototype of a class, so you do not need
> to declare the entire structure of the class.
>
> type
> Tpenis = class;
>
> and that's it
No.
He probably forgot to enable Delphi mode.
See here
http://wik
On Wed, 13 Feb 2008 19:20:59 +0100
Wolfram Kläger <[EMAIL PROTECTED]> wrote:
> // Michael Van Canneyt, 12.02.2008 20:08
> >
> > On Tue, 12 Feb 2008, Wolfram Kläger wrote:
> >
> >> I am trying to get access to a remote MySQL database via sqldb and
> >> mysql50conn, ending up with 'EDatabaseErro
On Tue, 19 Feb 2008 08:59:17 -0300
"Lucas Vasconcelos" <[EMAIL PROTECTED]> wrote:
> Ok. But, i´m using FPC *only*.
>
> I install Lazarus and try compile my application using FileUtil unit
> but lazarus give me a
> error message: "Can´t find unit FileUtil used by mytest"
>
> What option that i c
On Sat, 23 Feb 2008 15:45:22 +0100
Giuliano Colla <[EMAIL PROTECTED]> wrote:
>[...]
> Tanks for the hint, but grep (or Find in Files from IDE) has the big
> disadvantage that you don't find only the declaration, but also all
> the references. You search "FindFirst" and you find 200 entries...
La
On Thu, 10 Apr 2008 16:39:09 +0200
Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to create a default exception handler dialog for fpGUI. It
> should display the error message and when the user clicks on the
> 'Details' button, it should show the full backtrace. For some reas
On Wed, 30 Apr 2008 01:22:47 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:
> Alan Krause wrote:
> > Hans MÃ¥rtensson wrote:
> >> But that would not work after the pointer was used and then it's
> >> memory freed.
> >> So a better way might be:
> >>
> >> Always when declaring pointers do it this
On Thu, 01 May 2008 15:23:29 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote:
>[...]
> > ReAllocMem(p,0);
>
> Ah, now I understand why you use them :)
>
> Anyway does it set p:=nil ?
Yes.
Mattias
_
On Sun, 25 May 2008 11:46:20 +0500
Vladimir Zhirov <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got a question about the license of unit avl_tree.pp, that comes
> with FCL. FPC FAQ states that
>
> > Applications created by the compiler and using the runtime library
> > come under a modified library
> > > of the License, or * (at your option) any later version.
> >
> > AVL_Tree unit is used by dom.pp.
> >
> > So the question is: are there any restrictions on the license of
> > applications that use dom.pp and avl_tree.pp?
>
> Normally, the FPC FAQ i
On Mon, 17 Feb 2003 11:32:04 +0100
Sebastian Günther <[EMAIL PROTECTED]> wrote:
> milimeter schrieb:
> > Hello, everybody
> >
> > I can't compile the source from the latest cvs, the errors are as
> > follows:
> > Fatal: Can't find unit GL
> > Can anybody tell me what is wrong with it?
>
>
Hi all,
I'm trying to port the turbopower internet pro html viewer to lazarus. I use
the delphi mode and the fpc 1.0.7 [2003/02/21] for i386. Now there are two
strange error messages, and I neither know, what they mean, nor how to get
rid of:
iphtml.pas(3662,3) Error: Symbol can't be published, c
On Thu, 27 Feb 2003 11:26:36 +0100
Peter Vreman <[EMAIL PROTECTED]> wrote:
> At 11:14 27-2-2003, you wrote:
> >Hi all,
> >
> >I'm trying to port the turbopower internet pro html viewer to lazarus. I
> >use the delphi mode and the fpc 1.0.7 [2003/02/21] for i386. Now there
> >are two strange error
Hi,
When using RTTI, I sometimes need to know the decimal precisions of a
TFloatType. For example
ftSingle = 8
ftDouble = 16
...
Is there a simple way to get this?
If not: Is it possible to add an array or function to typinfo.pp with some
info (e.g. bits for mantissa, bits for exponential, signed
On Fri, 28 Mar 2003 23:22:05 +1000
James Mills <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2003 at 02:52:31PM +0200, A.J. Venter wrote:
> > Hi,
> > How much compatibility is broken between fpc-1.0.6 and fpc-laz 1.0.7 ?
>
> Why can't Lazarus be run with just the normal FPC compiler anyway ? Why
>
On Fri, 28 Mar 2003 23:54:48 +1000
James Mills <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2003 at 02:41:17PM +0100, Marco van de Voort wrote:
> > > On Fri, Mar 28, 2003 at 02:52:31PM +0200, A.J. Venter wrote:
> > > > Hi,
> > > > How much compatibility is broken between fpc-1.0.6 and fpc-laz 1.0.
On Fri, 28 Mar 2003 16:44:01 +0100 (W. Europe Standard Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > There are some remaining bugs in the current 1.0.7, which would be nice,
> > if they could be fixed before releasing 1.0.8: typeinfo for single and
> > double. If no one is doing that t
On Fri, 28 Mar 2003 16:44:01 +0100 (W. Europe Standard Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > There are some remaining bugs in the current 1.0.7, which would be nice,
> > if they could be fixed before releasing 1.0.8: typeinfo for single and
> > double. If no one is doing that t
Hi,
I'm using the fpc 1.1 of 25 Dez. 2002 and I noticed that the lineinfo does
not work.
Is this fixed in the current version?
Mattias
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
Is it possible to do 'make deb' without creating the docs?
Mattias
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I need to read 2, 4 or 8 bytes in a processor independent way. For example:
I have 4 bytes ($12 $34 $56 $78), starting with the most signifikant (like
the 68k processor). Reading a DWord under i386 swaps the bytes ($78563412).
Is there a fast way/procedure to read a word/dword/qword independen
On Fri, 4 Jul 2003 11:42:59 +0200 (CEST)
"Peter Vreman" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I need to read 2, 4 or 8 bytes in a processor independent way. For
> > example:
> > I have 4 bytes ($12 $34 $56 $78), starting with the most signifikant
> > (like the 68k processor). Reading a DWord
On Wed, 23 Jul 2003 11:36:58 +0200 (W. Europe Daylight Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 23 Jul 2003, Lukas Gebauer wrote:
>
> > > And the other way around. The main problem with Borland is that it
> > > only supports one and a half platform on one processor.
>
On Thu, 24 Jul 2003 15:17:50 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
> > > You can simply make a preprocessor which does that if you find it fun
> > > to
> > do.
> > > But this doesn't change the unit structure, and gives no advantage in
> > > maintainability at all. At most the
Hi,
I'm trying to compile the gtk2 interface for lazarus with fpc 1.0.10, but
ran into a nasty little problem: fpc runs amok. For example it compiles the
first 600 hundred lines of gtkproc.inc (a lazarus include file) and then it
allocates mem, and allocates, and allocates, and allocates, ..., til
On Thu, 13 Nov 2003 16:01:56 +0100 (W. Europe Standard Time)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
>
> On Thu, 13 Nov 2003, Marco van de Voort wrote:
>
> > > On Thu, 13 Nov 2003, Marco van de Voort wrote:
> >
> > > > The LCL is much more than a widget set. It is the base building
> >
Can someone explain the semantic difference between *1 and *2 please?
procedure A(p: Type1);
begin
inherited; // *1
inherited A(p); // *2
end;
?
Mattias
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/f
On Sun, 21 Dec 2003 17:36:00 +0100 Florian Klaempfl
<[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote:
>
> > Can someone explain the semantic difference between *1 and *2 please?
> >
> > procedure A(p: Type1);
> > begin
> > inherited;
On Fri, 13 Feb 2004 22:26:13 -0800 (PST) Jeff Pohlmeyer
<[EMAIL PROTECTED]> wrote:
> > It's possible to implement Libglade in fpc? Anyone has do it?
>
> 1.0:
> http://site.voila.fr/yvesd/downloads.htm
> 2.0:
> http://sourceforge.net/projects/gtk2forpascal
gtk2forpascal contains a libglade2.
On Wed, 18 Feb 2004 09:06:51 +0100 (CET) [EMAIL PROTECTED] wrote:
> From: "Matt Henley" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject:[fpc-pascal]Error Making CVS version of compiler
> Date sent: Tue, 17 Feb 2004 20:06:49 -0600
>
> .
> .
> > /usr/local/bin/ppc386 -Ur
On Tue, 23 Mar 2004 22:35:48 -0800 (PST) Jeff Pohlmeyer
<[EMAIL PROTECTED]> wrote:
> > I tried to use gtk_window_remove_accel_group(...) but it is not
> > found by fpc (gtk has it, I've got the name from its docs).
>
> > Is is possible in a simple way to get the missing procedure working?
>
>
fpc cvs is locked:
cvs server: failed to create lock directory for
`/FPC/CVS/fpc/packages/extra/palmunits'
(/FPC/CVS/fpc/packages/extra/palmunits/#cvs.lock): Permission denied
cvs server: failed to obtain dir lock in repository
`/FPC/CVS/fpc/packages/extra/palmunits'
cvs [server aborted]: read lo
On Sun, 2 May 2004 01:57:33 +0200 (CEST) [EMAIL PROTECTED] wrote:
>
>
> On Sat, 1 May 2004, Mattias Gaertner wrote:
>
> >
> > fpc cvs is locked:
> >
> > cvs server: failed to create lock directory for
> > `/FPC/CVS/fpc/packages/extra/palmunits
On Sun, 2 May 2004 16:45:38 +0200 (CEST) [EMAIL PROTECTED] wrote:
>
>
> On Sun, 2 May 2004, Mattias Gaertner wrote:
>
> > On Sun, 2 May 2004 01:57:33 +0200 (CEST) [EMAIL PROTECTED]
> > wrote:
> >
> > >
> > >
> > > On Sat, 1 May 2004
Hi,
How can I convert between PowerPC double and i386 Extended on a powerpc?
For example: I want to save a Double under powerpc to a stream as i386
Extended and read it under i386 as Extended.
Are there already some conversion functions to convert between the various
floating point formats?
Ma
On Sun, 15 Aug 2004 00:11:16 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote:
>
> On 14 aug 2004, at 19:34, Mattias Gaertner wrote:
>
> > How can I convert between PowerPC double and i386 Extended on a
> > powerpc?
> > For example: I want to save a Double
On Sun, 15 Aug 2004 10:04:45 +0200 [EMAIL PROTECTED] (Dr. Rolf
Jansen) wrote:
> On Sun, 15 Aug 2004 03:03:08 +0200 Mattias Gaertner wrote:
>
> > Where can I get information about the i386 extended and the ppc double
> > format? Is it correct, that the ppc double is simp
On Sun, 15 Aug 2004 12:27:10 +0200 Florian Klaempfl <[EMAIL PROTECTED]>
wrote:
> Mattias Gaertner wrote:
> >>I suggest to reverse the byte at the PPC side, and to "stream" the
> >>doubles to the i386 box, and to assign the double there to an extended
&
On Sun, 15 Aug 2004 12:48:22 +0200 Florian Klaempfl <[EMAIL PROTECTED]>
wrote:
> Mattias Gaertner wrote:
>
> > On Sun, 15 Aug 2004 12:27:10 +0200 Florian Klaempfl <[EMAIL PROTECTED]>
> > wrote:
> >
> >
> >>Mattias Gaertner wrote:
> >&
On Wed, 10 Nov 2004 08:46:21 +0100
Florian Klaempfl <[EMAIL PROTECTED]> wrote:
> Alan Mead wrote:
>
> > Is there an easy way to monitor memory allocations during a program
> > run (for debugging purposes)?
>
> I guess the easiest is using the heaptrc unit and modifying it for your
> needs.
See
If I compile something with option -ofoo.bar.new under linux, fpc cuts the last
extension and creates the file "foo.bar".
Why that?
Mattias
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Sat, 4 Dec 2004 11:36:50 -0300
Agustin Barto <[EMAIL PROTECTED]> wrote:
> I'm trying to rebuild the srpms of fpc 1.0.10 and 1.9.4 and I'm
> getting "Internal Error " randomly during the compile process.
>
> I'm running FC3 on an AMD Athlon 2600+. I'm guessing it has something
> to do with
The below program has 2 try..except blocks. In each block an object is
created, that gives an access violation.
The first is catched, the second not.
Why?
program ConstructorKill;
{$mode objfpc}{$H+}
uses
Classes, SysUtils;
type
{ TMyObject }
TMyObject = class(TObject)
public
co
I need to stream references in DefineProperties.
For those not familar with the streaming of TReader/TWriter:
For example TForm.ActiveControl is a class property and is a reference
to TControl. TWriter simply writes the name of the control.
TReader reads the identifier, but during streaming not
On Sun, 15 May 2005 14:14:15 -0700
L505 <[EMAIL PROTECTED]> wrote:
> >Mattias Gaertner nc-gaertnma [EMAIL PROTECTED] netcologne.de
> >Wed, 30 Oct 2002 15:56:09 +0100
>
> >> Another option is
> >> http://anso.virtualave.net/delphi_stuff.htm#TRegExpr
>
FPC 2.0 seems to have problems with lazarus new ide paths. Sometimes it
gives an error, that it can not find uniteditor.pp or componentpalette.pas.
The paths are correct, a 'make clean all' or 'make cleanide ide' does not
fix the problem, the bug is reproducable. And it has nothing to do with
'make
On Sat, 29 Oct 2005 13:38:05 -0700
L505 <[EMAIL PROTECTED]> wrote:
>
> > No, this doesn't match with our experiences we had at the systems: a lot
> > of people said, yes, I tried fpc but I didn't like to work with the
> > command line. When we asked, did you try lazarus, the answer was, no, I
> >
On Sat, 29 Oct 2005 23:38:10 +0200
Sebastian Günther <[EMAIL PROTECTED]> wrote:
> Tony Pelton schrieb:
> >
> > their (sun's) model is one where they offer the bundle that you need,
> > where you may want a big thick bundle with the Java compiler and
> > runtime and IDE, or you may already have th
On Mon, 31 Oct 2005 17:03:09 -0800
Team Z505 <[EMAIL PROTECTED]> wrote:
>
>
> >Well, I am aware of the fact that a visual design environment like
> >lazarus (and delphi and VB), it's easy to fall into the trap to base your
> >backend design on the GUI design. If Eclipse or KDevelop have a soluti
On Tue, 25 Feb 2014 14:45:37 +0100
Frederic Da Vitoria wrote:
> Hello,
>
> It was suggested that we should look at the mail headers when the mails
> arrived in a strange order. Here is an example:
>
> = Mail 1:
> Delivered-To: (...)@gmail.com
> Received: by 10.140.91.161 with SMTP id z3
On Fri, 28 Feb 2014 15:29:03 -0300
Marcos Douglas wrote:
>[...]
> These properties are defined in Process unit. My class is in myprocess unit
> (or something like that).
> The problem is: I can not use the enums values because they don't exists in
> my unit (myprocess) but if these enums were def
The Lazarus team is glad to announce the release of Lazarus 1.2.
This release was built with fpc 2.6.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes
On Windows the installer now allows 2 independent installations.
http:/
The fpc mirror http://www.hu.freepascal.org/ is empty.
Who is responsible for it?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Wed, 05 Mar 2014 22:01:37 +0100
Florian Klämpfl wrote:
> Am 05.03.2014 19:26, schrieb Mattias Gaertner:
> >
> > The fpc mirror http://www.hu.freepascal.org/ is empty.
>
> http://ftp.hu.freepascal.org/lazarus is available again.
On Thu, 06 Mar 2014 07:40:49 +0100
LacaK wrote:
> Mattias Gaertner wrote / napísal(a):
> > On Wed, 05 Mar 2014 22:01:37 +0100
> > Florian Klämpfl wrote:
> >
> >
> >> Am 05.03.2014 19:26, schrieb Mattias Gaertner:
> >>
> >>&
On Mon, 10 Mar 2014 20:18:38 -0400
"m...@rpzdesign.com" wrote:
> Jonas:
>
> Where in Lazarus 1.0.14 do I put in the compiler command line option?
> -WM10.9
>
> Project Options->Compiler Options->Compilation->Compiler->Command
No, that's the path to the compiler, no extra options.
> -WM10.9
On Sun, 23 Mar 2014 17:58:16 +
Graeme Geldenhuys wrote:
> Hi,
>
> I'm loading up a XSL file into a TXMLDocument using XMLRead. Up to this
> point everything seems to be ok, and I can query the DOMNodes without
> problem. If I then save that file out again, using XMLWrite, I noticed
> that so
On Mon, 24 Mar 2014 20:12:50 +
Graeme Geldenhuys wrote:
>[...]
> > The parser converts *; to Unicode characters when
> > reading. AFAIR some xsl parsers like xsltproc do the same.
> > If you want xslt to output ' ' you can use ' '
>
> Thanks for that info, it helped find the problem (
Hi,
When I start fpc in a directory containing symlinks the compiler uses
the resolved directory, leading to wrong source file names.
For example:
/tmp/orig/project1.pas
/tmp/link -> /tmp/orig
cd /tmp/link
fpc -vb project1.pas
/tmp/orig/project1.pas(6,5) Error: Identifier not found "w"
Is there
On Tue, 25 Mar 2014 21:07:45 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> > For example a way to tell fpc to use the PWD environment
> > variable?
>
> No.
>
> Because if you do a Chdir('ABC') inside a FPC program,
'a FPC program' sounds as if you are talking about console programs
in genera
On Wed, 26 Mar 2014 09:10:09 +0100 (CET)
Michael Van Canneyt wrote:
>
>
> On Tue, 25 Mar 2014, Mattias Gaertner wrote:
>
> >>
> >> So, FPC uses a system call to get the correct (resolved) CWD directory.
> >> This is the only guaranteed mechanism.
On Wed, 26 Mar 2014 10:59:52 +0100
Mattias Gaertner wrote:
>[...]
> But SetCurrentDir does not work. It seems to resolve directories. The
> documentation does not mention this behavior. Is this by design?
The setcwd of C does the same, so I guess it is by design.
It should be d
On Wed, 26 Mar 2014 11:25:19 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> > AFAIK the PWD is the official thing and used by other console tools as
> > well. For example when I compile a file with gcc in a symlinked
> > directory it creates debugging info with the unresolved file name.
>
>
>
On Wed, 26 Mar 2014 11:25:19 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> > Keep in mind that /tmp/link/unit1.pas and /tmp/orig/uni1.pas must be
> > treated as two different files and within one project you must use
> > only one of them.
>
> There you are wrong. They must be treated as the sa
On Wed, 26 Mar 2014 12:07:01 +0100 (CET)
Michael Van Canneyt wrote:
> On Wed, 26 Mar 2014, Mattias Gaertner wrote:
>[...]
> > You seem to think tcsh-specific behaviour is the correct way to do
> > things. ;)
>
> Well, actually I don't think in such terms. I think th
On Wed, 26 Mar 2014 13:37:32 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> But I am arguing that when passing filenames/paths to other tools
> (including the compiler), you should always specify full filenames.
The IDE passes all search paths as full file paths, especially no
'..'. No problem
On Wed, 26 Mar 2014 14:31:19 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> > What problem do they have? /tmp/link is a valid file name.
>
> Only because it is a full path. Then it doesn't matter whether you resolve or
> not.
>
> But things like ../link may end up wildly on wildly different p
On Wed, 26 Mar 2014 15:19:29 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> I tested, and indeed:
>
> # include_directories
> .ascii "../../tmp/link\000"
>
> I think this is an error in FPC, because the linker file contains full paths:
>
> INPUT(
> /usr/local/lib/fpc/2.7.1/units/x86
On Wed, 26 Mar 2014 15:33:38 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> >> So ? You just need to check the inode.
> >
> > Is there a function to list all files pointing to an inode?
>
> Actually, you just need to know if 2 filenames point to the same inode.
And what 2 files should I check
this requires adapting all relative
paths, which can not be done automatically in general.
GetCurrentDir always returns the resolved physical file name.
Mattias
On Tue, 25 Mar 2014 19:14:17 +0100
Mattias Gaertner wrote:
> Hi,
>
> When I start fpc in a directory containing sym
On Wed, 26 Mar 2014 18:47:06 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> The compiler does not do anything special: it determines its current
> working directory using the RTL, meaning it gets the resolved current
> working directory.
I described the situation from a user's pov.
Somewhere
On Wed, 26 Mar 2014 23:19:57 +0100
"Tomas Hajny" wrote:
> On 26 Mar 14, at 23:05, Mattias Gaertner wrote:
> > On Wed, 26 Mar 2014 18:47:06 +0100 (CET)
> > Michael Van Canneyt wrote:
> >
> > >[...]
> > > The compiler does not do anything
On Thu, 27 Mar 2014 08:16:11 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> > I described the situation from a user's pov.
> > Somewhere it should be documented.
>
> I will do so.
Thanks.
> >
> > BTW, is there already a RTL function to resolve a file name?
>
> fpReadLink ?
>
> Or do you m
On Fri, 28 Mar 2014 09:55:47 +0100
"Helmut Weber" wrote:
> Java is quite similar to C or C++.
What kind of Java are you talking about?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/lis
On Thu, 10 Apr 2014 02:43:41 -0300
luciano de souza wrote:
>[...]
> r.expression := '^(x\s+)*(\([A-E]\))*(\s*.*\.)+(\s+\+.*\b)*(\s+@.*\b)*$';
> if r.exec('x (A) Write a report. +ABC +DEF @John @Mary') then
The (\s+\+.*\b) matches '+ABC +DEF @John @Mary'.
Mattias
On Thu, 10 Apr 2014 10:05:44 -0300
luciano de souza wrote:
> Well, I need to study more. I can't understand what is wrong. The
> match starts with a blank space: \s+. Some string follows: .*. And it
> ends in the border of word: \b. So, (\s+.*\b)*, for me, should return:
> +ABC +DEF. If "@" is no
On Mon, 14 Apr 2014 12:29:00 -0400
waldo kitty wrote:
>
> when i try to compile a program on my non-GUI linux, it tells me that it
> can't
> find the programs... hunh?
>
>
> fpc -FUlib/$(TargetCPU)-$(TargetOS) foo.pas
These are Lazarus macros.
> so how do i use macros to tell fpc where to
The Lazarus team is glad to announce the release of Lazarus 1.2.2.
This release was built with fpc 2.6.4. The previous release 1.2 was
built with 2.6.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.2_.28Merged.
On Wed, 23 Apr 2014 11:43:39 -0300
silvioprog wrote:
>[...]
> But in SourceForge still in "lazarus-1.2.0-fpc-2.6.2-win32.exe".
It took some time, before sf shows the new default.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
On Wed, 23 Apr 2014 17:42:13 -0400
"m...@rpzdesign.com" wrote:
> When trying to install lazarus 1.2.2 on Linux Fedora 14:
>
> fpc-2.6.4-1.x86_64.rpm does not install.
>
> Shows error: "lazarus-1.2.0-0.x86_64 requires fpc = 2.6.2-130317"
Try installing all three, fpc, fpc-src and lazarus with
On Thu, 24 Apr 2014 09:50:21 + (UTC)
Virgo Pärna wrote:
> On Wed, 23 Apr 2014 16:34:54 +0200, Mattias Gaertner
> wrote:
> > The Lazarus team is glad to announce the release of Lazarus 1.2.2.
> >
>
> Windows (64 bit) download points to 32 bit download.
See the
On Thu, 24 Apr 2014 10:20:19 + (UTC)
Virgo Pärna wrote:
> On Thu, 24 Apr 2014 12:04:14 +0200, Mattias Gaertner
> wrote:
> >
> > See the announcement:
> >
> >> Windows x64 users: please use the 32 bit installer if possible. See
> &
On Thu, 24 Apr 2014 15:48:15 +0300
patspiper wrote:
> Hi,
>
> With the successful preliminary implementation of java events calling
> pascal code, my next step is to try to integrate android's visual
> controls. Can anyone give a very basic example using pascal/JNI only
> (even pseudo code) o
On Thu, 24 Apr 2014 15:48:46 +0100
Martin Frb wrote:
> On 24/04/2014 11:27, Mattias Gaertner wrote:
> > On Thu, 24 Apr 2014 10:20:19 + (UTC)
> > Virgo Pärna wrote:
> >
> >> On Thu, 24 Apr 2014 12:04:14 +0200, Mattias Gaertner
> >> wrote:
>[...]
On Fri, 25 Apr 2014 14:52:55 +0200
Krzysztof wrote:
> I noticed something weird in 1.2.2. When finishing debugging (by pressing
> Stop icon) codeeditor can't restore position cursor. I need to switch tab
> and back again and then it is ok. Kubuntu 14.04 64bit
What do you mean with "can't restore
On Sun, 4 May 2014 14:40:35 +0200
YuGiOhJCJ Mailing-List wrote:
> This is where fpc is searching:
> $ fpc -vt bounce.pp | grep "unit path"
> Using unit path: /usr/lib/fpc/2.6.4/units/i386-linux/rtl/
> Using unit path: /usr/lib/fpc/2.6.4/
These are the default unit paths of the compiler.
It norma
On Mon, 5 May 2014 08:05:47 +0200
Sven Barth wrote:
>[...]
> "override" is an implicit "virtual" as long as the parameter lists of both
> methods are the same.
Huh? If they are not the same, it won't compile.
Mattias
___
fpc-pascal maillist - fpc-pa
Hi,
The download mirrors shows "The 2.6.4 RPM and Deb archives are
still in preparation".
Are they still?
For example:
http://www.freepascal.org/down/i386/linux-australia.var
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://l
On Fri, 16 May 2014 23:13:43 +0200
Krzysztof wrote:
>[...]
> This article is quite clear for me: http://wiki.freepascal.org/for-in_loop
>[...]
> ... then FList.GetEnumerator create new object
> (TListEnumerator.Create(Self)). My question is, where it is freed? Is it
> freed automatically on runti
On Fri, 16 May 2014 23:13:43 +0200
Krzysztof wrote:
> Hi,
>
> This article is quite clear for me: http://wiki.freepascal.org/for-in_loop
I added a note to the example, that the enumerator is automatically
freed by the compiler after the loop.
Mattias
___
On Sat, 17 May 2014 13:18:01 +0200
Jürgen Hestermann wrote:
>
> Am 2014-05-17 10:39, schrieb Mattias Gaertner:
> > I added a note to the example, that the enumerator is automatically freed
> > by the compiler after the loop.
>
>
> I just had a look at
On Wed, 21 May 2014 11:11:11 +0200
Peter Brooks wrote:
> I've got a little program that just pings. It runs. I get a 0 error
> return, but there doesn't seem to be any output:
>
> -rw-r--r-- 1 root wheel 0 21 May 11:09 output.txt
>
> So it's re-writing the output.txt file, but the
> written(
On Wed, 21 May 2014 13:00:58 +0200
Peter Brooks wrote:
> Sorry, I misled you. I did move it higher up, earlier, to test
> something, and I forgot to put it back.
>
> This version has exactly the same behaviour:
>
> -rw-r--r-- 1 peterbrooks wheel 0 21 May 13:00 output.txt
>
> Program nm
On Wed, 21 May 2014 21:44:10 +0200
Peter Brooks wrote:
> Yes, thank you. The best thing I've learned is to be suspicious of examples...
>
> I've got it now, thank you all for the assistance.
>
> I took AStringList.Add() to mean that it added the string to the list
> of strings - I was wrong..
>
Hi all,
When I compile a program with a duplicate $R
directive fpc (2.6.4) gives an error. Unlike other error messages this
error is written to stderr (under Linux and OS X).
Running fpc in a shell seems to always work. The output/stdout and
stderr are both written nicely together.
But when the st
On Mon, 26 May 2014 16:46:01 +0200 (CEST)
Michael Van Canneyt wrote:
>
>
> On Mon, 26 May 2014, Mattias Gaertner wrote:
>
> > Hi all,
> >
> > When I compile a program with a duplicate $R
> > directive fpc (2.6.4) gives an error. Unlike other error messages
On Wed, 04 Jun 2014 15:03:31 -0400
"Saunders, Rich" wrote:
>[...]
> Whether static variables are more or less thread safe is for you to
> decide since you know what you are doing with them. I don't think either
> short strings or Strings are inherently more or less thread safe. It
> depends on
Hi,
When I have an undeclared identifier like
begin
i :=3;
end;
fpc 2.6.4 reports:
unit1.pas(42,7) Error: Identifier not found "i"
Note that it points to the semicolon instead of the i.
Is this by design or is it a bug?
Mattias
___
fpc-pascal ma
On Thu, 05 Jun 2014 09:37:57 +0200
Michael Schnell wrote:
> On 06/04/2014 08:04 PM, joha...@nacs.net wrote:
> > I would expect shortstring might be thread safe.
> Only a simple write (not a modification) of processor-native types is
> inherently atomic and thus really thread save.
No. See for
On Thu, 05 Jun 2014 09:51:05 +0200
Michael Schnell wrote:
> On 06/05/2014 09:42 AM, Mattias Gaertner wrote:
> >
> >> Only a simple write (not a modification) of processor-native types is
> >> inherently atomic and thus really thread save.
> > No.
> Wha
The Lazarus team is glad to announce the release of Lazarus 1.2.4.
This release was built with fpc 2.6.4.
The previous release 1.2.2 was built with 2.6.4 too, the release 1.2.0
was built with fpc 2.6.2.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/L
501 - 600 of 1119 matches
Mail list logo