public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* Bug report windres
@ 2022-05-08 21:26 Daniel Marschall
  2022-05-08 22:15 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Marschall @ 2022-05-08 21:26 UTC (permalink / raw)
  To: overseers

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
}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-08 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-08 21:26 Bug report windres Daniel Marschall
2022-05-08 22:15 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).