On Mon, 3 Feb 2014, Fred van Stappen wrote:
Date: Mon, 3 Feb 2014 18:30:57 +0100
From: mich...@freepascal.org
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] Size of program vs library ?
On Mon, 3 Feb 2014, Fred van Stappen wrote:
Hello.
Here size of nude program
Hi all,
We use FPC trunk for the development of several projects and we download it
from ftp://freepascal.dfmk.hu/pub/lazarus/snapshots/
However for FPC 2.7.1, the latest build is from September. Is there any
plan to update it? Or is there a more updated ftp directory somewhere else
we could
Hello again,
Can I use a defined generic type parameter inside a constraint of the same
generic declaration on FPC trunk code? Something like:
{$mode Delphi}
type
TFooT = class
end;
TGenericT, U: TFooT = class
end;
This compiles in Delphi XE or later but in FPC it gives the error
If I am correct, the compiler will add the PIC by itself.
But someone of the compiler team should confirm this...
Michael.
Yep, Michael, many thanks for answer.
Sorry to insist on that, but the size of fp library is very too big vs other
libraries (C for example).
But there are huge
Am 04.02.2014 13:35, schrieb Fred van Stappen:
Sorry to insist on that, but the size of fp library is very too big vs
other libraries (C for example).
The size of FPC libraries will always(*) be bigger then e.g. C ones,
because in FPC the RTL is statically linked into the program/library,
Am 04.02.2014 11:35, schrieb Constantine Yannakopoulos:
We use FPC trunk for the development of several projects and we
download it from ftp://freepascal.dfmk.hu/pub/lazarus/snapshots/
However for FPC 2.7.1, the latest build is from September. Is there
any plan to update it? Or is there a
Am 04.02.2014 11:48, schrieb Constantine Yannakopoulos:
Hello again,
Can I use a defined generic type parameter inside a constraint of the
same generic declaration on FPC trunk code? Something like:
{$mode Delphi}
type
TFooT = class
end;
TGenericT, U: TFooT = class
end;
This
Hi all,
i will appreciate a little help / advice / anything for the following
problem i'm having.
I need to use the xmldatapacketreader to transfer datasets between
free pascal and delphi.
The problem i'm having is that i can't use UniDirectional and
SaveToStream at the same time (
(*) Once dynamic runtime packages are supported this might change
though...
Regards,
Sven
Ok, thanks Sven, that will be the best...
But before the triumph of fp, i will do that universal audio open source
library with fp too...
Many thanks for all of you, fp
Hello,
I'm using this configuration:
initialization
DefaultFormatSettings.DateSeparator := '-';
DefaultFormatSettings.TimeSeparator := ':';
DefaultFormatSettings.ShortDateFormat := '-mm-dd';
DefaultFormatSettings.ShortTimeFormat := 'hh:nn:ss';
but, when i try:
var
t: TDateTime;
Hi,
Στις 4/2/2014 3:54 μμ, ο/η silvioprog έγραψε:
Hello,
I'm using this configuration:
initialization
DefaultFormatSettings.DateSeparator := '-';
DefaultFormatSettings.TimeSeparator := ':';
DefaultFormatSettings.ShortDateFormat := '-mm-dd';
DefaultFormatSettings.ShortTimeFormat :=
2014-02-04 Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu:
Hi,
Στις 4/2/2014 3:54 μμ, ο/η silvioprog έγραψε:
Hello,
I'm using this configuration:
initialization
DefaultFormatSettings.DateSeparator := '-';
DefaultFormatSettings.TimeSeparator := ':';
In our previous episode, silvioprog said:
Worked with:
var
t: TDateTime;
begin
t := StrToDateTime('2013-02-04 11:39:54');
end;
sorry, I forgot to use the function StrToDateTime. :S
Or use
http://www.freepascal.org/docs-html/rtl/dateutils/scandatetime.html
On Sun, 2014-02-02 at 23:13 +0100, Fred van Stappen wrote:
- Here example for function inside a class of myunit:
library mylib ;
uses
myunit;
function mylibclassfunction() : integer; cdecl;
var
myclass : TMyUnitClass; /// class defined in myunit (if can be a
variable outside the
i have a TSortedCollection that i'm allowing duplicate keys to be inserted in...
the problem that i'm having is that the duplicate keys are in reverse order from
how they were inserted...
i am overriding MyCollection^.Insert because i have additional tasks that need
to be done at the time
On 2/4/2014 8:54 AM, silvioprog wrote:
t := StrToDate('2013-02-04 11:39:54'); // to format -mm-dd hh:nn:ss
the above is StrToDate but you are also sending the time... you would see
similar if you were sending the above string to StrToTime...
StrToDate only accepts date formats as
On 2/4/2014 1:40 PM, waldo kitty wrote:
i have a TSortedCollection that i'm allowing duplicate keys to be
inserted in... the problem that i'm having is that the duplicate keys
are in reverse order from how they were inserted...
Sounds like your TSortedCollection.Compare() needs additional
On 2/4/2014 3:28 PM, Jim Leonard wrote:
On 2/4/2014 1:40 PM, waldo kitty wrote:
i have a TSortedCollection that i'm allowing duplicate keys to be
inserted in... the problem that i'm having is that the duplicate keys
are in reverse order from how they were inserted...
Sounds like your
- Here example for function inside a class of myunit:
library mylib ;
uses
myunit;
function mylibclassfunction() : integer; cdecl;
var
myclass : TMyUnitClass; /// class defined in myunit (if can be a
variable outside the function)
begin
result := -1 ;
Now what I would like in the compiler is a warning: potential memory
leak at myclass := TMyUnitClass.Create;
;)
Oops, prior message was cut...
Yep, before to get that sympathetic message, i changed the code, now all the
class.create are done inside the unit used by the library and i will
2014-02-04 waldo kitty wkitt...@windstream.net:
On 2/4/2014 3:28 PM, Jim Leonard wrote:
On 2/4/2014 1:40 PM, waldo kitty wrote:
i have a TSortedCollection that i'm allowing duplicate keys to be
inserted in... the problem that i'm having is that the duplicate keys
are in reverse order from
On 2/4/2014 5:16 PM, Frederic Da Vitoria wrote:
2014-02-04 waldo kitty wkitt...@windstream.net
mailto:wkitt...@windstream.net:
[...]
i kinda thought about that earlier when i was digging thru the code... IIRC,
insert was overridden because there are cases where the existing record
2014-02-04 waldo kitty wkitt...@windstream.net:
On 2/4/2014 8:54 AM, silvioprog wrote:
t := StrToDate('2013-02-04 11:39:54'); // to format -mm-dd hh:nn:ss
the above is StrToDate but you are also sending the time... you would see
similar if you were sending the above string to
2014-02-04 Marco van de Voort mar...@stack.nl:
In our previous episode, silvioprog said:
Worked with:
var
t: TDateTime;
begin
t := StrToDateTime('2013-02-04 11:39:54');
end;
sorry, I forgot to use the function StrToDateTime. :S
Or use
2014-02-05 silvioprog silviop...@gmail.com:
2014-02-04 Marco van de Voort mar...@stack.nl:
In our previous episode, silvioprog said:
Worked with:
var
t: TDateTime;
begin
t := StrToDateTime('2013-02-04 11:39:54');
end;
sorry, I forgot to use the function StrToDateTime. :S
25 matches
Mail list logo