[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13971] New: windmc: default severity and facility message
From: |
lukeallardyce at yahoo dot co.uk |
Subject: |
[Bug binutils/13971] New: windmc: default severity and facility message fields according to MS |
Date: |
Thu, 12 Apr 2012 01:02:27 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13971
Bug #: 13971
Summary: windmc: default severity and facility message fields
according to MS
Product: binutils
Version: 2.22
Status: NEW
Severity: enhancement
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
According to
http://msdn.microsoft.com/en-us/library/windows/desktop/dd996906%28v=vs.85%29.aspx
the message compiler should automatically insert the previous values
for severity and facility if they are not defined for a given message:
Severity=name
[...] If no value is specified, the value used is the value last
specified for a message definition.[...]
Facility=name
[...] If no value is specified, the value used is the value last
specified for a message definition.[...]
e.g. the following file
LanguageNames=(English=0x9:eng)
MessageId=
Facility=Application
Severity=Success
SymbolicName=SUCCESS
Language=English
Completed.
.
MessageId=
Severity=Informational
SymbolicName=PROCESSING
Language=English
Processing s%1...
.
MessageId=
SymbolicName=WAITING
Language=English
Waiting for s%1...
.
Should output a header file with the following defines:
#define SUCCESS 0xfff0001
#define PROCESSING 0x4fff0002
#define WAITING 0x4fff0003
Instead the output I get with binutils 2.22 as distributed with mingw
is as follows
#define SUCCESS 0xfff0001
#define PROCESSING 0x40000002
#define WAITING 0x3
i.e. the facility and severity fields are set to 0
Not a big deal although it would help make message files smaller if this could
be implemented. Thanks.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/13971] New: windmc: default severity and facility message fields according to MS,
lukeallardyce at yahoo dot co.uk <=