Re: [fpc-devel]Format() incompatibility with Delphi

2003-11-08 Thread Michael Van Canneyt
On Fri, 7 Nov 2003, Michalis Kamburelis wrote: Hi What should Format('%d %d %0:d %d', [0, 1, 2, 3]) return ? Delphi help is clear about that : Setting the index specifier affects all subsequent formatting, so it should return '0 1 0 1' (and it does when compiled with Delphi). Let me

[fpc-devel]Bug in AssignPipe() on Linux

2003-11-08 Thread Jeff Pohlmeyer
Hello, Peter - thanks for your response. Did you only test the 1.9.0 compiler or also distributed the 1.9.0 RTL ? I tested with each compiler version with its own RTL. Please check for a leftover syscallo.inc in fpc/rtl/linux/. It should only be available in in fpc/rtl/linux/i386/ with rev.

Re: [fpc-devel]Compiler runtime error when using WideString character constant

2003-11-08 Thread Florian Klaempfl
David Butler wrote: Hi I am using FreePascal 1.9.0[2003/11/05]. For the following code, the compiler crashes with Runtime error 216 at 0x004467CA. type RR = record RA : WideString; end; const Z : RR = (RA: 'B'); The compiler does not crash if the 'B' is changed to a string of more than

Re: [fpc-devel]Minor differences with Delphi

2003-11-08 Thread Johannes Berg
On Fri, 2003-11-07 at 12:55, David Butler wrote: Sorry, I should have guessed. Yes, it basically takes the OS error and raises some exception. The exception message is the OS error message as returned by an OS function call. Here's a basic implementation that works for me (*): const

Re: [fpc-devel]Minor differences with Delphi

2003-11-08 Thread Marco van de Voort
On Fri, 2003-11-07 at 12:55, David Butler wrote: Sorry, I should have guessed. Yes, it basically takes the OS error and raises some exception. The exception message is the OS error message as returned by an OS function call. Here's a basic implementation that works for me (*): const

Re: [fpc-devel]Minor differences with Delphi

2003-11-08 Thread Johannes Berg
On Sat, 2003-11-08 at 12:41, Johannes Berg wrote: Here's a basic implementation that works for me (*): And before someone complains about Delphi compatibility: type EOSError = class(Exception) protected FErrorCode: Integer; public property ErrorCode: Integer read FErrorCode;

Re: [fpc-devel]Bug in AssignPipe() on Linux

2003-11-08 Thread Peter Vreman
At 10:38 8-11-2003, you wrote: Hello, Peter - thanks for your response. Did you only test the 1.9.0 compiler or also distributed the 1.9.0 RTL ? I tested with each compiler version with its own RTL. Please check for a leftover syscallo.inc in fpc/rtl/linux/. It should only be available in in

[fpc-devel]Implementing interfaces by delegation

2003-11-08 Thread Иван Шихалев
Hello! What's about the subj? Is this feature planned for 2.0 version? -- Ivan Shikhalev http://fpc.by.ru/ ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel]Internal error 9999 (FPC 1.9.0)

2003-11-08 Thread Pedro Lopez-Cabanillas
Hi all, The following test program doesn't compile under FPC 1.9.0, but it does and works under Kylix 3. I didn't try other Delphi incarnations. The compiler says: $ fpc test3 Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 1.9.0 [2003/11/05] for i386 Copyright (c)

Re: [fpc-devel]Building FPC 1.9.1 on BeOS

2003-11-08 Thread Florian Klaempfl
BiPolar wrote: Hello. While trying to build FPC from today CVS sources on the BeOS platform (using make beoszip from the root directory): I guess the main problem is that the 1.0.x BeOS rtl contains a lot of patches which aren't merged into 1.9.x sources. I had to add two paths on the

Re: [fpc-devel]Implementing interfaces by delegation

2003-11-08 Thread Florian Klaempfl
wrote: Hello! What's about the subj? Is this feature planned for 2.0 version? Yes. ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel