http://bugs.winehq.org/show_bug.cgi?id=20432
Summary: Adapt WRC to recent GCC changes Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools AssignedTo: wine-bugs@winehq.org ReportedBy: d.g.gorbachev@gmail.com
Created an attachment (id=24252) --> (http://bugs.winehq.org/attachment.cgi?id=24252) Possible solution
WRC does not join parts of a string together.
For instance:
STRINGTABLE BEGIN 1001, "hello," "world" END
When compiling it, WRC gives `Error: syntax error'. (Windres accepts it.)
Look, for example, at dlls/shell32/shell32_*.rc, and read a discussion in PR 41748 at GCC Bugzilla, to see why this can be needed.
http://bugs.winehq.org/show_bug.cgi?id=20432
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2009-10-20 15:09:27 --- That's not valid RC syntax, and I fail to see what gcc has to do with this. What is the actual problem you are trying to fix?
http://bugs.winehq.org/show_bug.cgi?id=20432
--- Comment #2 from Dmitry Gorbachev d.g.gorbachev@gmail.com 2009-10-20 17:37:32 --- For now, there are no problems. If the --preprocessor option will be implemented, using gcc in the role of an external preprocessor can cause errors. I just want to notify in advance about possible future problems.
This syntax is recognized by windres.
http://bugs.winehq.org/show_bug.cgi?id=20432
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-20 22:17:07 ---
STRINGTABLE BEGIN 1001, "hello," "world" END
Even though windres accepts this, PSDK's rc.exe doesn't. This syntax is invalid.
http://bugs.winehq.org/show_bug.cgi?id=20432
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2009-10-20 22:17:30 --- Closing invalid.