[fpc-devel] Paramstr trailing spaces, bug or not?

Marco van de Voort marcov at stack.nl
Fri Dec 23 13:18:54 CET 2011

In our previous episode, Sergei Gorelkin said:
> > the space)
> >
> > Can you reproduce that? I tried with a simple hello-world kind of
> > application and in that case I can't reproduce it either.
> >
> > This is on Windows 7 in a virtual machine. (kvm)
> >
> Just some notes:

> - syswin.inc code looks like any number of delimiters between parameters
>   are skipped.

.. unless quoted.

> - this extra whitespace is added by the makefile, suggesting some buggy/incorrect processing in 
> make.exe or makefile itself.

It could be that the makefile logic quotes every argument on windows, in
case of spaces. We would need a kind of strace tool for Windows to find out.

More information about the fpc-devel mailing list