- 19 May, 2021 1 commit
-
-
Max Kellermann authored
Include the most specific header documented by MSDN instead.
-
- 12 Feb, 2021 1 commit
-
-
Max Kellermann authored
This is semi-standard and doesn't require the util/Compiler.h header.
-
- 23 Jul, 2020 1 commit
-
-
Max Kellermann authored
-
- 12 Mar, 2020 1 commit
-
-
Rosen Penev authored
The former is deprecated by C++14. It's also functionally the same. From the standard: 19.4 The header<cerrno>is described in Table 43. Its contents are the same as the POSIX header<errno.h>,except that errno shall be defined as a macro. [Note: The intent is to remain in close alignment with the POSIX standard.] A separate errno value shall be provided for each thread. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 04 Dec, 2019 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 19 Aug, 2019 1 commit
-
-
Max Kellermann authored
-
- 12 Jul, 2019 1 commit
-
-
Max Kellermann authored
-
- 20 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 12 Dec, 2017 1 commit
-
-
Max Kellermann authored
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
-
- 13 Sep, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 17 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 04 Dec, 2016 2 commits
-
-
Max Kellermann authored
It's wrong to use std::system_category() for both GetLastError() and errno on Windows. Apparently, everybody uses std::generic_category() for errno values, which appears to be a safe choice. Some discussion on this confusing topic can be found here: https://stackoverflow.com/questions/28746372/system-error-categories-and-standard-system-error-codes
-
Max Kellermann authored
The Windows standard library emulates part of POSIX, which includes errno.
-
- 09 Sep, 2016 1 commit
-
-
Max Kellermann authored
-
- 02 Jul, 2016 1 commit
-
-
Max Kellermann authored
-
- 29 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 27 Dec, 2015 1 commit
-
-
Max Kellermann authored
Apparently, the std::system_error constructor appends strerror() already.
-
- 18 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 17 Dec, 2015 1 commit
-
-
Max Kellermann authored
-
- 15 Dec, 2015 1 commit
-
-
Max Kellermann authored
-