Hello FPC developers.
Sad but we found a new (really very old) bug with spaces:
http://bugs.freepascal.org/view.php?id=9964
If you pass -osome file with spaces.exe or -osome file with
spaces.exe fpc generates only a file with only some part.
Why I write here. Well, lazarus team hope to
On Tue, 6 Jul 2010, Paul Ishenin wrote:
Hello FPC developers.
Sad but we found a new (really very old) bug with spaces:
http://bugs.freepascal.org/view.php?id=9964
If you pass -osome file with spaces.exe or -osome file with spaces.exe
fpc generates only a file with only some part.
Why
In our previous episode, Paul Ishenin said:
Sad but we found a new (really very old) bug with spaces:
http://bugs.freepascal.org/view.php?id=9964
If you pass -osome file with spaces.exe or -osome file with
spaces.exe fpc generates only a file with only some part.
Can you validate that the
06.07.2010 20:35, Michael Van Canneyt wrote:
Are you sure the bug is in FPC ?
Yes, look at the quotes - they are ignored or so.
C:\WINDOWS\Tempprogramming\lazarus\lcl\units\i386-win32\gtk2\
-FuC:\programming\lazarus\packager\units\i386-win32\ -Fu.
-FUlib\i386-win32\ -oMy Test Project.exe
06.07.2010 20:38, Marco van de Voort wrote:
Can you validate that the called binary really gets this parameter ?
D:\testingfpc -otest 1 2 3.exe boundtest
Free Pascal Compiler version 2.5.1 [2010/07/03] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling
See the mail from Marco for an explanation of this output.
Michael.
On Tue, 6 Jul 2010, Paul Ishenin wrote:
06.07.2010 20:35, Michael Van Canneyt wrote:
Are you sure the bug is in FPC ?
Yes, look at the quotes - they are ignored or so.
On Tue, 6 Jul 2010, Paul Ishenin wrote:
06.07.2010 20:38, Marco van de Voort wrote:
Can you validate that the called binary really gets this parameter ?
D:\testingfpc -otest 1 2 3.exe boundtest
Free Pascal Compiler version 2.5.1 [2010/07/03] for i386
Copyright (c) 1993-2009 by Florian
06.07.2010 21:01, Michael Van Canneyt wrote:
No, different shells is more likely to be the cause.
I made a small bat file:
@echo off
echo 1 %1
echo 2 %2
C:\test -oMy Test Project.exe C:\WINDOWS\TEMP\project1.lpr
1 -oMy Test Project.exe
2 C:\WINDOWS\TEMP\project1.lpr
So quotes are passed
On Tue, 6 Jul 2010, Paul Ishenin wrote:
06.07.2010 21:01, Michael Van Canneyt wrote:
No, different shells is more likely to be the cause.
I made a small bat file:
@echo off
echo 1 %1
echo 2 %2
C:\test -oMy Test Project.exe C:\WINDOWS\TEMP\project1.lpr
1 -oMy Test Project.exe
2
In our previous episode, Michael Van Canneyt said:
Var
i : integer;
begin
For I:=1 to ParamCount do
Writeln(I,' : ',Paramstr(i));
end.
Or better even, sysutils.commandline, since doesn't that iirc reflect what
the binary gets before FPC parses it?
and test then with
mytest
06.07.2010 21:17, Michael Van Canneyt wrote:
Do not use a batch file, but a plain executable to test:
program mytest;
Var
i : integer;
begin
For I:=1 to ParamCount do
Writeln(I,' : ',Paramstr(i));
end.
and test then with
mytest -oMy Test Project.exe C:\WINDOWS\TEMP\project1.lpr
06.07.2010 21:17, Michael Van Canneyt wrote:
and test then with
mytest -oMy Test Project.exe C:\WINDOWS\TEMP\project1.lpr
I found the problem. The reason is old fpc.exe which probably passes
arguments to ppc386.exe
As Marco has found the bug report has the same date as my old fpc.exe.
On Tue, 6 Jul 2010, Paul Ishenin wrote:
06.07.2010 21:17, Michael Van Canneyt wrote:
and test then with
mytest -oMy Test Project.exe C:\WINDOWS\TEMP\project1.lpr
I found the problem. The reason is old fpc.exe which probably passes
arguments to ppc386.exe
As Marco has found the bug report
Michael Van Canneyt schrieb:
Sad but we found a new (really very old) bug with spaces:
http://bugs.freepascal.org/view.php?id=9964
If you pass -osome file with spaces.exe or -osome file with
spaces.exe fpc generates only a file with only some part.
[...]
Are you sure the bug is in FPC ? I
On Wed, Jul 7, 2010 at 01:09, Michael Van Canneyt
mich...@freepascal.org wrote:
Glad to hear FPC is not at fault, for once.
So we can expect a new FPC and lazarus hopefully soon :-)
I am sorry for hijacking this thread, but while I see someone is interested
in proper command-line spaces
On Tue, 6 Jul 2010 17:41:27 +0200 (CEST)
mar...@stack.nl (Marco van de Voort) wrote:
In our previous episode, Hans-Peter Diettrich said:
Sad but we found a new (really very old) bug with spaces:
http://bugs.freepascal.org/view.php?id=9964
If you pass -osome file with spaces.exe or
In our previous episode, Mattias Gaertner said:
names :-(
This should not be hard to cure, but I could not yet find out where.
Should I file an feature request?
Does Lazarus set the working directory for the compiler as you expect it to
be? Keep in mind that a relative path is
Hi there,
Anyone using FPC/Lazarus to develop on a MAC OSX and having success
with SVN over a LAN with Samba?
I'm having a hard time getting anything to commit on my OSX box and
wanted to see if someone here has solved the file locking problem that
OSX 10.6 presents.
Thanks for any help.
Andrew Brunner wrote:
Hi there,
Anyone using FPC/Lazarus to develop on a MAC OSX and having success
with SVN over a LAN with Samba?
I'm having a hard time getting anything to commit on my OSX box and
wanted to see if someone here has solved the file locking problem that
OSX 10.6 presents.
Marco van de Voort schrieb:
Does Lazarus set the working directory for the compiler as you expect it to
be? Keep in mind that a relative path is always dependant on the working
directory, not relative to the project.
I'd expect that the working directory is set to the directory of the
20 matches
Mail list logo