mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Restore strict header checking
This commit is contained in:
parent
b212f49ef4
commit
ad775a75b8
16 changed files with 43 additions and 41 deletions
10
third_party/libcxx/atomic
vendored
10
third_party/libcxx/atomic
vendored
|
@ -21,16 +21,6 @@
|
|||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifdef _LIBCPP_HAS_NO_THREADS
|
||||
# error <atomic> is not supported on this single threaded system
|
||||
#endif
|
||||
#ifdef _LIBCPP_HAS_NO_ATOMIC_HEADER
|
||||
# error <atomic> is not implemented
|
||||
#endif
|
||||
#ifdef kill_dependency
|
||||
# error C++ standard library is incompatible with <stdatomic.h>
|
||||
#endif
|
||||
|
||||
#define _LIBCPP_CHECK_STORE_MEMORY_ORDER(__m) \
|
||||
_LIBCPP_DIAGNOSE_WARNING(__m == memory_order_consume || \
|
||||
__m == memory_order_acquire || \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue