WineHQ
Bug Tracking Database – Bug 26668

 Bugzilla

 

Last modified: 2013-12-20 12:44:00 UTC  

Language macros are not defined during an .rc file compilation

Bug 26668 - Language macros are not defined during an .rc file compilation
Language macros are not defined during an .rc file compilation
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
1.3.17
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
: download, testcase
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-04-06 02:51 UTC by Gilles Depeyrot
Modified: 2013-12-20 12:44 UTC (History)
1 user (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
resource file with corresponding header file (683 bytes, application/x-stuffit)
2011-04-06 02:51 UTC, Gilles Depeyrot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Depeyrot 2011-04-06 02:51:35 UTC
Created attachment 33960 [details]
resource file with corresponding header file

With the attached files and the following command line the resource file 
is compiled using wine 1.2.2 and fails using wine 1.3 (including 1.3.17).

wrc -I$WINEHOME/include/wine/msvcrt -I$WINEHOME/include/windows -fofoo.res foo.rc

I get errors resembling:

file.rc:22:21: Error: syntax error

The corresponding line in the file is:

LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
Comment 1 Austin English 2011-04-06 03:20:39 UTC
Introduced by:

e6340f1652e0328bbfeeae58462f41400b09b38a is the first bad commit
commit e6340f1652e0328bbfeeae58462f41400b09b38a
Author: Alexandre Julliard <julliard@winehq.org>
Date:   Wed Sep 29 20:13:28 2010 +0200

   wrc: Add support for target options, and define _WIN64 for 64-bit builds.

:040000 040000 af53e5447fca71246cd4f4ec1cd91887f6c3eee2
19d82ada48a0b03253cf7a315cfd656f7c6c4be3 M      tools

see also http://www.winehq.org/pipermail/wine-devel/2011-March/089439.html
Comment 2 Alexandre Julliard 2011-04-06 03:28:24 UTC
The keyword is of course still supported. The problem is that the language macros are not defined, you need to include winnt.h. This may be an incompatibility in our windows.h. Not really a regression.
Comment 3 butraxz 2013-12-07 02:50:19 UTC
This ticket has not been updated for over 900 days. Development recommends
to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.

Is this still an issue with 1.7.8 or higher ?
Comment 4 Gilles Depeyrot 2013-12-07 12:47:03 UTC
It is no longer an issue with wine 1.7.
Comment 5 Alexandre Julliard 2013-12-20 12:44:00 UTC
Closing bugs fixed in 1.7.9.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers