Bug report windres

Daniel Marschall info@daniel-marschall.de
Sun May 8 21:26:00 GMT 2022


Hello,

I wanted to report a WindRes bug in https://sourceware.org/bugzilla/ ,
but I receive following error message:

User account creation has been restricted.
Contact your administrator or the maintainer (overseers@sourceware.org) 
for information about creating an account.


Actually, I just want to submit the bug report below, maybe you can just 
post the bug report. I don't necessarily need an account.

Thank you.



Bug report:

In windres.exe , the STRINGTABLE resource does not accept constants 
(#define)
It causes a syntax error.

Example below:


=== File language.h ===

#define MSG_PREMIERE_COMPAT_ID 1
#define MSG_PREMIERE_COMPAT_EN "...";
#define MSG_PREMIERE_COMPAT_DE "..."

#define MSG_RUNDLL_ERR_ID 2
#define MSG_RUNDLL_ERR_EN "..."
#define MSG_RUNDLL_ERR_DE "..."


=== File language.rc ===

#include "language.h"

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE
{
     // Syntax error here!
     MSG_PREMIERE_COMPAT_ID, MSG_PREMIERE_COMPAT_EN
     MSG_RUNDLL_ERR_ID, MSG_RUNDLL_ERR_EN
}

LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
STRINGTABLE
{
     // Syntax error here!
     MSG_PREMIERE_COMPAT_ID, MSG_PREMIERE_COMPAT_DE
     MSG_RUNDLL_ERR_ID, MSG_RUNDLL_ERR_DE
}


More information about the Overseers mailing list