Changeset 83730 in vbox for trunk/include/iprt
- Timestamp:
- Apr 17, 2020 2:01:53 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137248
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/bldprog-strtab-template.cpp.h
r82968 r83730 77 77 # include <algorithm> 78 78 # include <map> 79 # include <string> 79 # if RT_MSC_PREREQ(RT_MSC_VER_VC141) 80 # pragma warning(push) 81 # pragma warning(disable:4774) /* string(530): warning C4774: '_scprintf' : format string expected in argument 1 is not a string literal */ 82 # include <string> 83 # pragma warning(pop) 84 # else 85 # include <string> 86 # endif 80 87 # include <vector> 81 88 … … 968 975 { 969 976 /* Comment with a uncompressed and more readable version of the string. */ 970 fprintf(pOut, off == pCur->offStrTab ? "/* 0x%05x = \"" : "/* 0X%05x = \"", off); 977 if (off == pCur->offStrTab) 978 fprintf(pOut, "/* 0x%05x = \"", off); 979 else 980 fprintf(pOut, "/* 0X%05x = \"", off); 971 981 BldProgStrTab_PrintCStringLitteral(pThis, pCur, pOut); 972 982 fputs("\" */\n", pOut);
Note:
See TracChangeset
for help on using the changeset viewer.