On Thursday 05 October 2006 22.41, Joost van der Sluis wrote:
> > > Now I'm thinking about using an interface, to avoid double code. But I
> > > don't know what effect that has on run-time performance. I mean, the
> > > idea was to make if faster ...
> >
> > A very good idea! It can then be impleme
Hi,
Attached patch tries to give more verbose PPU error messages, but only
in case a unit cannot be found. Selected, common mistakes like wrong
target, wrong compiler version are queued in a list, and upon error
printed to output.
Thoughts ?
Micha
Index: verbose.pas
=
On Thu, 2006-10-05 at 08:57 +0200, Michael Van Canneyt wrote:
> On Thu, 5 Oct 2006, Joost van der Sluis wrote:
> > I have plans to add an unidirectional dataset/query to sqldb. Thus one
> > that isn't inherited from TDataset. This to improve performance, for for
> > example cgi-like programs, in w
On Thu, 2006-10-05 at 07:41 +0200, Martin Schreiber wrote:
> On Thursday 05 October 2006 00.38, Joost van der Sluis wrote:
> > Hi all,
> >
> > I have plans to add an unidirectional dataset/query to sqldb. Thus one
> > that isn't inherited from TDataset. This to improve performance, for for
> > exam
Jonas Maebe wrote:
>
> On 5 okt 2006, at 18:41, Micha Nelissen wrote:
>
>> No, the idea is to find @expr+, so where you take the address *and* do
>> arithmetic on the result. That's why there aren't that many cases of it.
>
> Shouldn't the + then be escaped normally? Or is it only "1 or more of
On 5 okt 2006, at 18:41, Micha Nelissen wrote:
Jonas Maebe wrote:
But this does not help users, third party packages etc. Breaking
compilation of sloppy code is one thing, but introducing silent
bugs is
a whole other issue.
Hmm. What type is @X in {$T-} ? Is it a special type ? Maybe the
Jonas Maebe wrote:
> But this does not help users, third party packages etc. Breaking
> compilation of sloppy code is one thing, but introducing silent bugs is
> a whole other issue.
Hmm. What type is @X in {$T-} ? Is it a special type ? Maybe the
compiler can give a warning when you do arithmetic
On 5 okt 2006, at 18:31, Micha Nelissen wrote:
Jonas Maebe wrote:
The problem is that this is something you did not patch, because
it did
not trigger a compiler error. You would have to go over all @-
statements
Doing so now. There are actually not that many cases: only 324 :)
But this d
Jonas Maebe wrote:
> The problem is that this is something you did not patch, because it did
> not trigger a compiler error. You would have to go over all @-statements
Doing so now. There are actually not that many cases: only 324 :)
Command used:
$ (find -regex '.*\.\(pp\|pas\|inc\)' | xargs gre
Jonas Maebe wrote:
On 5 okt 2006, at 15:41, Jonas Maebe wrote:
Or that the code in the typeinfo unit is now broken.
typinfo unit is fixed.
Thanks. Lazarus starts again.
Vincent
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://l
On 5 okt 2006, at 17:23, Micha Nelissen wrote:
Jonas Maebe wrote:
On 5 okt 2006, at 15:41, Jonas Maebe wrote:
Or that the code in the typeinfo unit is now broken.
typinfo unit is fixed. But there may be other similar problems
elsewhere. I would advise to make {$t-} the default again, becaus
Jonas Maebe wrote:
On 5 okt 2006, at 15:41, Jonas Maebe wrote:
Or that the code in the typeinfo unit is now broken.
typinfo unit is fixed. But there may be other similar problems
elsewhere. I would advise to make {$t-} the default again, because this
sort of hidden errors is hard to find u
On 5 okt 2006, at 15:41, Jonas Maebe wrote:
Or that the code in the typeinfo unit is now broken.
typinfo unit is fixed. But there may be other similar problems
elsewhere. I would advise to make {$t-} the default again, because
this sort of hidden errors is hard to find unless you go over
On 5 okt 2006, at 15:35, Vincent Snijders wrote:
Can someone fix the testsuite failures resulting from this?
Are there any testsuite failures with typeinfo.
Yes. trtti1, trtti4 and trtti5 fail.
Lazarus crashes at startup when accessing the typeinfo. It could be
that our code is wrong now
Jonas Maebe wrote:
On 4 okt 2006, at 22:01, Florian Klaempfl wrote:
Attached patch modifies compiler to enable typed addresses ({$T+}) for
fpc and objfpc modes by default. It fixes the rtl and compiler to
compile again. Most of these fixes are simple pointer to array vs.
pointer to element of
Micha Nelissen wrote:
Ivo Steinmann wrote:
Well, it's a good idea to enable typed addresses by default, but I
have got one problem with that. The pointer to an array of a type
should be allowed to assign to the pointer of the same type.
Example
T: array[-10..10] of Integer;
P: PInteger;
I
On Thursday 05 October 2006 14:52, Micha Nelissen wrote:
> Ivo Steinmann wrote:
> > Well, it's a good idea to enable typed addresses by default, but I have
> > got one problem with that. The pointer to an array of a type should be
> > allowed to assign to the pointer of the same type.
> >
> > Examp
Ivo Steinmann wrote:
Well, it's a good idea to enable typed addresses by default, but I have
got one problem with that. The pointer to an array of a type should be
allowed to assign to the pointer of the same type.
Example
T: array[-10..10] of Integer;
P: PInteger;
I request that "P := @T;"
Micha Nelissen schrieb:
Hi,
Attached patch modifies compiler to enable typed addresses ({$T+}) for
fpc and objfpc modes by default. It fixes the rtl and compiler to
compile again. Most of these fixes are simple pointer to array vs.
pointer to element of array changes, but some reveal ugly code I
ok, i will try to make it reproduceable
- Original Message -
From: "Micha Nelissen" <[EMAIL PROTECTED]>
To: "FPC developers' list"
Sent: Thursday, October 05, 2006 1:27 PM
Subject: Re: [fpc-devel] Master/Detail problem with Tdbf
> Christian Ulrich wrote:
> > I have an strange Issue here
Christian Ulrich wrote:
I have an strange Issue here with tdbf and master/detail.
I have 2 sorts of Master/Detail relationships in this project.
at first with FIELD based indexes:
At example i haven an customers table and and customercontact table.
both have an Field ACCOUNTNO over what the maste
On 10/5/06, Bisma Jayadi <[EMAIL PROTECTED]> wrote:
> For example:
If this is really the case that cause you demand var_args feature, then
obviously you have problem with your software design. I agree with Marco. :) I
wrote a program to solve a problem exactly like this without need of var_args
f
I have an strange Issue here with tdbf and master/detail.
I have 2 sorts of Master/Detail relationships in this project.
at first with FIELD based indexes:
At example i haven an customers table and and customercontact table.
both have an Field ACCOUNTNO over what the master / detail relationship is
On 4 okt 2006, at 22:01, Florian Klaempfl wrote:
Attached patch modifies compiler to enable typed addresses ({$T+})
for
fpc and objfpc modes by default. It fixes the rtl and compiler to
compile again. Most of these fixes are simple pointer to array vs.
pointer to element of array changes, but
TBlobField.SaveToStream and LoadFromStream dont work in Windows (with tdbf)
Can somebody tale a look at this ? its very importend for my actual project.
regards
Christian
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal
Micha Nelissen schrieb:
Hi,
Attached patch modifies compiler to enable typed addresses ({$T+}) for
fpc and objfpc modes by default. It fixes the rtl and compiler to
compile again. Most of these fixes are simple pointer to array vs.
pointer to element of array changes, but some reveal ugly code I
On Thursday 05 October 2006 08:13, Michael Van Canneyt wrote:
> On Thu, 5 Oct 2006, Joost van der Sluis wrote:
> >
> > Now I'm thinking about using an interface, to avoid double code.
> > But I don't know what effect that has on run-time performance. I
> > mean, the idea was to make if faster ...
>
On Thu, 5 Oct 2006, Joost van der Sluis wrote:
> Hi all,
>
> I have plans to add an unidirectional dataset/query to sqldb. Thus one
> that isn't inherited from TDataset. This to improve performance, for for
> example cgi-like programs, in which iterating back and forth through a
> database isn'
Joost van der Sluis wrote:
Hi all,
I have plans to add an unidirectional dataset/query to sqldb. Thus one
that isn't inherited from TDataset. This to improve performance, for for
example cgi-like programs, in which iterating back and forth through a
database isn't necessary.
Where exactly is t
29 matches
Mail list logo