diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-11-05 12:08:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-11-05 12:36:34 -0400 |
commit | c93114ec9e45f4fb3843012056046eec15b875aa (patch) | |
tree | 80cb7a61e78f4d0d37d308534cb1b5646231338b /changes | |
parent | 1c77deca4f8e8027eaf130b6454af758e4d9ccc4 (diff) | |
download | tor-c93114ec9e45f4fb3843012056046eec15b875aa.tar.gz tor-c93114ec9e45f4fb3843012056046eec15b875aa.zip |
Prefer use of __MINGW_PRINTF/SCANF_FORMAT if available.
Mingw headers sometimes like to define alternative scanf/printf
format attributes depending on whether they're using clang, UCRT,
MINGW_ANSI_STDIO, or the microsoft version of printf/scanf. This
change attempts to use the right one on the given platform.
This is an attempt to fix part of #40355.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug40355_part2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug40355_part2 b/changes/bug40355_part2 new file mode 100644 index 0000000000..000321d912 --- /dev/null +++ b/changes/bug40355_part2 @@ -0,0 +1,4 @@ + o Minor features (portability): + - Try to prevent a compiler warning about printf arguments that could + sometimes occur on MSYS2 depending on the configuration. + Closes ticket 40355.
\ No newline at end of file |