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: unassig...@sourceware.org ReportedBy: lukeallard...@yahoo.co.uk 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils