windres: serious bug
Dimitrie O. Paun
dimi@intelliware.ca
Fri Mar 21 07:39:00 GMT 2003
Folks,
I am following Mozilla's development, mainly the current efforts
to port the Win32 build to the MinGW tools. This effort is
tracked in Bug #134113:
http://bugzilla.mozilla.org/show_bug.cgi?id=134113
The latest development in this saga is a nasty windres bug
which has a _very_ ugly workaround. Here is a sample of what
needs to happen to work around it:
- CONTROL 108,IDC_STATIC,"Static",SS_BITMAP,11,11,83,162,
+ CONTROL
+#ifndef __MINGW32__
+ 108,
+#endif
+ IDC_STATIC,"Static",SS_BITMAP,11,11,83,162,
This is what people had to say about it:
per Marco Cocco based on microsoft documentation and based on my reading
of the msdn pages a resource compiler/decompiler needs to be able to
handle both strings and numeric types for the type and name fields,
windres is therefore broken.
borland resource workshop 4 (c) 1991, 1993 supported this.
Due to the ugliness of the solution, people decided to postpone this bug
for a fixed version of windres. However, we're still looking to catch the
Mozilla 1.4beta, and so I was wondering if someone can help out here.
In all honesty, given the lengthy FSF process, I was hoping someone who can
contribute code looks into this one, so we can get a solution out there
soon.
--
Dimi.
More information about the Binutils
mailing list