[PATCH] D91747: [Clang] Add __STDCPP_THREADS__ to standard predefine macros
    Reid Kleckner via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Nov 30 13:23:56 PST 2020
    
    
  
rnk added a comment.
If we believe the standard says that the compiler is supposed to set `__STDCPP_THREADS__`, then I think the libc++ #error needs to be adjusted. libcxxabi, or any other client, should be able to define `_LIBCPP_HAS_NO_THREADS`, and it should work, even if the compiler thinks they are allowed.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91747/new/
https://reviews.llvm.org/D91747
    
    
More information about the cfe-commits
mailing list