[fpc-devel] How to call windres with parameters that are shortpathwith forward slashes

Vincent Snijders vsnijders at vodafonevast.nl
Thu Jan 15 23:39:08 CET 2009


Yury Sidorov schreef:
> From: "Vincent Snijders" <vsnijders at vodafonevast.nl>
>> Vincent Snijders schreef:
>>> Hi,
>>>
>>> separator. Can you give me some guidelines how to write a patch for 
>>> the compiler?
>>>
>>
>> Please review the patch attached to 
>> http://bugs.freepascal.org/view.php?id=12645
> 
> Looks good to me.
> 

While preparing a back port for the fixes_2_2 branch, (a simple merge is 
not possible, because other changes to the resource handling in 2.3), I 
noticed windres failed if the output file did not exist yet. I fixed 
this in r12549.

A patch for the fixes branch is available at 
http://svn.freepascal.org/svn/lazarus/trunk/tools/install/patches/windres-2.2.2.patch

I use this patch currently for the win32 lazarus snapshots, that use fpc 
2.2.2 or fpc 2.2.3. Please consider using this patch for the fixes_2_2 
branch after a couple of days of testing in the Lazarus snapshots.

Vincent




More information about the fpc-devel mailing list