[PATCH] D112081: Define __STDC_NO_THREADS__ when targeting windows-msvc (PR48704)
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 19 09:00:08 PDT 2021
aaron.ballman added reviewers: rsmith, jyknight, rjmccall.
aaron.ballman added a comment.
Also, one concern I have for this is what to do if/when the Microsoft CRT gets any of these features. Clang will be unconditionally setting `__STDC_NO_WHATEVER__`, which we can correct for newer versions of Clang, but still means older versions of Clang on those updated systems then report something nonsensical.
It'd be nice if Microsoft had a solution similar to stdc-predef.h used by glibc, so the CRT could define information that we could use to determine what macros to predefine rather than having to guess.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112081/new/
https://reviews.llvm.org/D112081
More information about the cfe-commits
mailing list