- 
    Bug 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    5.3.2
- 
    None
- 
        06671a3cbda8b74b350eb14c0fbc23c0a63a7c64 (qtbase/5.5, 2.4.2015, 5.5)
While Q_OS_WINRT does define the FORMAT_MESSAGE_IGNORE_INSERTS flag, the non WinRT WIN32 pathway does not.
This is needed to provide better error detail in regard to error messages. Without the flag, a lot of system errors are not returned.
Within any design change to this API, please consider the fact FORMAT_MESSAGE_IGNORE_INSERTS means parameter format specifiers will be returned within any error code.
At the moment, what would be returned from the Q_OS_WINRT and !Q_OS_WINRT are different due to one using this flag and one not.
I prefer more detail on such an error rather than less, so vote for adding FORMAT_MESSAGE_IGNORE_INSERTS rather than removing it from Q_OS_WINRT.
| For Gerrit Dashboard: QTBUG-43164 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 109755,2 | Windows: Use FORMAT_MESSAGE_IGNORE_INSERTS for qt_error_string(). | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |