Re: [fpc-devel] VAL behavior

2010-03-23 Thread Tomas Hajny
On Tue, March 23, 2010 21:13, Dariusz Mazur wrote: > W dniu 2010-03-23 20:04, dmitry boyarintsev pisze: >> On Tue, Mar 23, 2010 at 6:50 PM, Dariusz Mazur >> wrote: >> >>> Delphi set ii to 9, FPC set 0 (io is equal 2) >>> is this bug? >>> >> Don't assume the value of ii (since it's invalid), if io<>

Re: [fpc-devel] VAL behavior

2010-03-23 Thread Florian Klaempfl
Dariusz Mazur schrieb: > W dniu 2010-03-23 20:04, dmitry boyarintsev pisze: >> On Tue, Mar 23, 2010 at 6:50 PM, Dariusz Mazur wrote: >> >>> Delphi set ii to 9, FPC set 0 (io is equal 2) >>> is this bug? >>> >> Don't assume the value of ii (since it's invalid), if io<> 0 >> >> > > I

Re: [fpc-devel] VAL behavior

2010-03-23 Thread Dariusz Mazur
W dniu 2010-03-23 20:04, dmitry boyarintsev pisze: On Tue, Mar 23, 2010 at 6:50 PM, Dariusz Mazur wrote: Delphi set ii to 9, FPC set 0 (io is equal 2) is this bug? Don't assume the value of ii (since it's invalid), if io<> 0 I don't ask about it. Only if this difference is a

Re: [fpc-devel] VAL behavior

2010-03-23 Thread dmitry boyarintsev
On Tue, Mar 23, 2010 at 6:50 PM, Dariusz Mazur wrote: > Delphi set ii to 9, FPC set 0 (io is equal 2) > is this bug? Don't assume the value of ii (since it's invalid), if io <> 0 thanks, dmitry ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

[fpc-devel] VAL behavior

2010-03-23 Thread Dariusz Mazur
Hi I found different behavior of VAL function under Delphi and FPC var i,io : integer begin val('9 ',ii,io); writeln(ii); writeln(io); end; Delphi set ii to 9, FPC set 0 (io is equal 2) is this bug? -- Darek ___ fpc-devel maillist -

Re: [fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Michael Schnell
It did work. Thanks a lot ! -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Michael Schnell
On 03/23/2010 04:16 PM, Jonas Maebe wrote: > > What happens at this point is that you are mixing two different FPC > installations. If you want to install in /usr instead of in > /usr/local, use "make install INSTALL_PREFIX=/usr" That is what I did assume. But of course I needed to install FPC 2.4

Re: [fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Jonas Maebe
On 23 Mar 2010, at 16:07, Michael Schnell wrote: On 03/23/2010 04:01 PM, Paul Ishenin wrote: 23.03.2010 21:26, Michael Schnell wrote: But where id fpc's "make install" move the correct executable ? If no other options are passed then to /usr/local/lib/fpc I think that is the problem - you n

[fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Michael Schnell
On 03/23/2010 04:01 PM, Paul Ishenin wrote: > 23.03.2010 21:26, Michael Schnell wrote: >> But where id fpc's "make install" move the correct executable ? > If no other options are passed then to /usr/local/lib/fpc > > I think that is the problem - you need to replace symlink and to > change fpc.cfg

Re: [fpc-devel] RTL and Unicode filenames operations.

2010-03-23 Thread Michael Van Canneyt
On Tue, 23 Mar 2010, Graeme Geldenhuys wrote: Marco van de Voort het geskryf: For the same reason why the Unix rtl is not a Windows emulation. We are writing a multiplatform compiler and rtl, not an emulation. If only that was true... I can highlight a few places where Windows emulation is

Re: [fpc-devel] RTL and Unicode filenames operations.

2010-03-23 Thread Graeme Geldenhuys
Marco van de Voort het geskryf: > > For the same reason why the Unix rtl is not a Windows emulation. We are > writing a multiplatform compiler and rtl, not an emulation. If only that was true... I can highlight a few places where Windows emulation is used rather that pure multi-platform implement