windres.exe is generating invalid RC output.
Let me clarify: My project is on the large side, and is designed to be extensible. That said, a lot of systems can be changed out or removed, and some of said systems need their own RC file (for packing DLLs or including dialogs, for instance).
The bottom line is, I have multiple RC files to link in, but MinGW does not support this. So instead of building COFF objects up front, I instruct it to recode the RC file such that it contains all resources in itself, then I generate a central resource file that #includes all of the generated files.
The issue is that when asked to produce an RC file, it reads a perfectly valid input file, then exports a file containing syntax errors.
I will add that compiling the files as individual COFF objects works fine (this is what I tried originally, before I realized that multiple resource objects are not correctly linked). It is when asked to bind all the resources into a new RC file that it goofs up.
EDITTEXT 12, 5, 43, 174, 15, ES_AUTOHSCROLL | ES_LEFT | WS_BORDER | WS_TABSTOP
windres -o .eobjs/Windows/Windows/Run/Widget_Systems/Win32/res.rc -i Widget_Systems/Win32/res.rc -O rc
EDITTEXT "", 12, 5, 43, 174, 15, 0x50810080
Full input file:
Full output file:
Other input files:
The output format is invalid; the string causes windres to throw a syntax error later on when requested to build a COFF.
OS and Version Information:
Windows 7, x64
GNU ld (GNU Binutils) 126.96.36.19910804
GNU windres (GNU Binutils) 188.8.131.5210804
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
Using built-in specs.
Configured with: ../gcc-4.6.1/configure --enable-languages=c,c++,fortran,objc,ob
j-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp -
-disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runti
me-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)
If you could suggest a workaround, please do so. I have managed to isolate the issue in my project such that it will, at present, not inhibit typical users. However, it is limiting forward progress for non-developers; my developers can simply correct the output themselves by removing the erroneous empty string it generates.
Module name: src
Changes by: email@example.com 2012-02-11 15:15:34
binutils : ChangeLog resrc.c
* resrc.c (write_rc_dialog_control): Omit text dump for
EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
It is the best post for the all of you players just seen the web site play the here https://heartsgameonline.net hearts card game free online most of the players have to like this post.