On Sun, 12 Sep 2010, Joost van der Sluis wrote:
Hi all,
Seems like that after all these years there are still bugs in fpc's
makefiles...
When you install a package, not the Package.fpc which is generated for
the whole package, but the Package.fpc generated for the last
sub-package is
I don't know whether it is still the case but there was a time the 'is'
operator relied on RTTI. So as soon as you have two different RTTI
entries for, e.g., TMyListinteger (which could happen if you compile
with packages) the operator needs some 'repair'.
This is why FPC has specialize
This is why FPC has specialize (to emphasis this): only class instances
having the same specialized generic type are considered being equal:
type
TList1 = specialize TListLongint;
TList2 = specialize TListLongint;
var
l1a,l1b : TList1;
l2 : TList2;
Only l1a and l1b are
Am 13.09.2010 11:44, schrieb Willibald Krenn:
This is why FPC has specialize (to emphasis this): only class
instances having the same specialized generic type are considered
being equal: type TList1 = specialize TListLongint; TList2 =
specialize TListLongint;
var l1a,l1b : TList1; l2 :
Hi,
Some numbers about the MSEide exes compiled as testcase in
http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg19068.html
System:
win2000, AMD Athlon XP 3000+, 1GB RAM
Delphi 7 FPC
Exe size: 3131392 3689304
Code:
OTOH 'specialize' is an additional
(unfamiliar) keyword and has semantics totally unknown to the world.
So why not take what's already in the language?
As I said, to emphasis that a new type is created, generic
specialization is something really new to the language. The meaning of
type
On Monday, 13. September 2010 12.57:14 Adem wrote:
Martin,
Could I have a copy of this exact setup --unless it is too big to send.
What do you need?
The source is here:
http://developer.berlios.de/svn/?group_id=11520
The compiler commands are here:
Am 13.09.2010 12:31, schrieb Willibald Krenn:
OTOH 'specialize' is an additional (unfamiliar) keyword and has
semantics totally unknown to the world. So why not take what's
already in the language?
As I said, to emphasis that a new type is created, generic
specialization is something
Am 13.09.2010 11:15, schrieb Martin Schreiber:
Delphi 7 FPC
Exe size: 3131392 3689304
Code: 2128524 2138240
Data: 752085 1541256
Do you use a lot of resource strings?
On Monday, 13. September 2010 13.24:18 Florian Klaempfl wrote:
Am 13.09.2010 11:15, schrieb Martin Schreiber:
Delphi 7 FPC
Exe size: 3131392 3689304
Code: 2128524 2138240
Data: 752085
Am 13.09.2010 11:44, schrieb Willibald Krenn:
But enough about generics, back to packages: I'll start doing an implementation
for the non-generic part first. Let's see how this goes. Since I need to read
into fpc source (and do this in my spare time), don't expect any spectacular
results
Op 2010-09-13 13:47, Martin Schreiber het geskryf:
I can not use resource strings because FPC resource strings are not unicode
capable AFAIK.
Probably related to your choice of UCS-2 - I don't really know the specific
issues you have, so it is hard to tell. I can say that I have been using
On Monday, 13. September 2010 14.12:38 Graeme Geldenhuys wrote:
Op 2010-09-13 13:47, Martin Schreiber het geskryf:
I can not use resource strings because FPC resource strings are not
unicode capable AFAIK.
Probably related to your choice of UCS-2 - I don't really know the specific
issues
Op Mon, 13 Sep 2010, schreef Graeme Geldenhuys:
Op 2010-09-13 13:47, Martin Schreiber het geskryf:
I can not use resource strings because FPC resource strings are not unicode
capable AFAIK.
Probably related to your choice of UCS-2 - I don't really know the specific
issues you have, so it
- Sven Barth pascaldra...@googlemail.com schreef:
Am 13.09.2010 11:44, schrieb Willibald Krenn:
But enough about generics, back to packages: I'll start doing an
implementation for the non-generic part first. Let's see how this
goes. Since I need to read into fpc source (and do this in
Am 13.09.2010 13:47, schrieb Martin Schreiber:
On Monday, 13. September 2010 13.24:18 Florian Klaempfl wrote:
Am 13.09.2010 11:15, schrieb Martin Schreiber:
Delphi 7 FPC
Exe size: 3131392 3689304
Code: 2128524 2138240
Am 13.09.2010 14:02, schrieb Sven Barth:
Am 13.09.2010 11:44, schrieb Willibald Krenn:
But enough about generics, back to packages: I'll start doing an
implementation for the non-generic part first. Let's see how this
goes. Since I need to read into fpc source (and do this in my spare
time),
Well, it's the Delphi way of creating a new type rather than an
alias.
Since they are still assignment compatible, I don't consider it as a
really new type.
Are you sure they are assignment compatible? I thought the whole point of the
type A = type B was to make a new type, not an
Am 13.09.2010 14:46, schrieb Dimitri Smits:
- Sven Barthpascaldra...@googlemail.com schreef:
Am 13.09.2010 11:44, schrieb Willibald Krenn:
But enough about generics, back to packages: I'll start doing an
implementation for the non-generic part first. Let's see how this
goes. Since I
19 matches
Mail list logo