Re: [fpc-pascal] Question about interfaces and patch

2005-03-25 Thread Thomas Schatzl
Hello, ml schrieb: I made one wrong statement. It's not "as" that doesn't work. getinterfaceentry works only for interfaces that have guid specified. By default guid is zeroed, and getinterfaceentry just returns first interface in table, which means wrong. Same problem shows in Support too. Hmmm, D

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Peter Vreman
> Hi Peter, > > on 2005-03-24T23:23:30+02:00 Peter wrote: >>> The problem, you describe above could be solved relative simple, even >>> the solution is more complex. I don't know any details of the >>> compiler, but I assume, that internally the compiler use a identical >>> structure to manage the

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Peter J. Haas
Hi Peter, on 2005-03-25T19:37:02+02:00 Peter wrote: >> I know. But why I should explain it more detailed, if you anyway >> disapprove such suggestions. :-( > Most ppl want compatibility with Delphi. When we add a warning for > uninitialized var parameters then there will be a lot of bug reports >

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Michał Woźniak
Does anybody here on this list want the hints off by default? I don't. Definetely, a possibility to switch hints on/off (with the latter as default) would be great, but if it is not available. It is also clear to me that, concerning hints, there is no such thing as Delphi-compatibility. Why both

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Micha Nelissen
On Fri, 25 Mar 2005 21:35:10 +0100 "Peter J. Haas" <[EMAIL PROTECTED]> wrote: > > Most ppl want compatibility with Delphi. When we add a warning for > > uninitialized var parameters then there will be a lot of bug reports > > that Delphi doesn't warn in those cases and we will have to reject > > t

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Florian Klaempfl
Peter J. Haas wrote: > Hi Peter, > > on 2005-03-25T19:37:02+02:00 Peter wrote: > >>>I know. But why I should explain it more detailed, if you anyway >>>disapprove such suggestions. :-( > > >>Most ppl want compatibility with Delphi. When we add a warning for >>uninitialized var parameters then

Re: [fpc-pascal] Question about interfaces and patch

2005-03-25 Thread ml
Quoting Thomas Schatzl <[EMAIL PROTECTED]>: > Hello, > > ml schrieb: > Hmmm, Delphi gives a compile time error if "as" is used on an interface > without GUID, same for support()... since both use the interfaces IID to > query for existence of an interface (either directly or via > QueryInterf

Re: [fpc-pascal] Blockread and buffers

2005-03-25 Thread Peter J. Haas
Hi Micha, on 2005-03-25T22:36:10+02:00 Micha wrote: >> In the last weeks we have had four discussions about hints. > You only mention 3 here ? I count four. The first, the second, the third and the problem discussed in this thread. >> The first problem was a bug and is solved. > So ? I