Yury Sidorov schreef:
From: "Vincent Snijders" <[EMAIL PROTECTED]>
Vincent Snijders schreef:
Yury Sidorov schreef:
From: "Michael Van Canneyt" <[EMAIL PROTECTED]>
On Wed, 30 May 2007, Yury Sidorov wrote:
> From: "Павел Ишенин" <[EMAIL PROTECTED]>
> > Hello, FPC developers' list
> >
> > I've noticed today that Yury resolved old and extremly bad > > for >
> lazarus bug
> > with multiply resource files. And now it is possible to use > > more than one
> > res in application.
> >
> > I dont know magic words, but maybe it is possible to merge > > this >
> fix into
> > future 2.2 version? This help us to solve some problems in > > > >
lazarus (xp
> > manifest injection, using res instead of lrs).
>
> I would like to see this fix in 2.2 as well.
> What other core developers think about it?

The answer is the same as for Graeme's request to merge some fpcunit fixes: Normally not, and since it's a rather big change which can have some as
yet unknown side-effects, I'd say this one is even less likely.

I dont surprised with the answer :) The bugfix is really changes a lot of code.
Let's wait for 2.2.2.

Yury.

I might have encountered one of the side-effects.

I compiled Lazarus with some components (rxnew for example), and windres used 470 MB Virtual memory in the task manager. After a while I got this message:
Compiling resource ..\units\i386-win32\fpc-res.res
D:\FPC\2.0.2\bin\i386-Win32\windres.exe: D:\FPC\2.0.2\bin\i386-Win32\windres.exe
: ..\units\i386-win32\fpc-res.res: unexpected end of file
Error: Error while linking

Update: using windres from fpcbuild\trunk\install\binw32 I have no such problem.

It may be windres bug or some of collected .res files is not fully correct...
What version each windres have?
Can you send me this fpc-res.res file?


Working version (from fpc 2.3.1):
GNU windres 2.16.91 20050827
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

Not working version (from fpc 2.0.2):
GNU windres 2.9.5
Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

Attached is the used fpc-res.res file.

Looking at the version, I think windres is just too old. I never had fpc 2.0.4 installed on this computer, so I am still using the binutils from fpc 2.0.2.

Vincent

Attachment: fpc-res.res
Description: Binary data

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to