VirtualBox

Ignore:
Timestamp:
Apr 28, 2020 11:58:24 PM (5 years ago)
Author:
vboxsync
Message:

IPRT: Massaging errmsg*-sorter.cpp and bldprog-strtab-template.cpp.h a little. bugref:9726

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/err/errmsg-sorter.cpp

    r84067 r84070  
    262262                "typedef struct RTMSGENTRYINT\n"
    263263                "{\n"
    264                 "    uint32_t offDefine : 20;\n"
    265                 "    uint32_t cchDefine : 9;\n"
     264                "    uint32_t offDefine   : 20;\n"
     265                "    uint32_t cchDefine   : 9;\n"
    266266                "%s"
    267267                "%s"
     
    270270                "typedef RTMSGENTRYINT *PCRTMSGENTRYINT;\n"
    271271                "\n"
    272                 "static const RTMSGENTRYINT g_aStatusMsgs[] =\n"
     272                "static const RTMSGENTRYINT g_aStatusMsgs[ /*%lu*/ ] =\n"
    273273                "{\n"
    274274                ,
     
    278278                enmMode == kMode_All
    279279                ? "    uint32_t offMsgFull  : 23;\n"
    280                   "    uint32_t cchMsgFull  : 9;\n" : "");
     280                  "    uint32_t cchMsgFull  : 9;\n" : "",
     281                (unsigned long)cStatusMsgs);
    281282
    282283        if (enmMode == kMode_All)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette