Index: libcxx/src/atomic.cpp =================================================================== --- libcxx/src/atomic.cpp +++ libcxx/src/atomic.cpp @@ -117,12 +117,14 @@ // We only call 'wake' if we consumed a contention bit here. __libcpp_platform_wake_by_address(__platform_state, __notify_one); } -static __cxx_contention_t __libcpp_contention_monitor_for_wait(__cxx_atomic_contention_t volatile* __contention_state, + +static __cxx_contention_t __libcpp_contention_monitor_for_wait(__cxx_atomic_contention_t volatile* /*__contention_state*/, __cxx_atomic_contention_t const volatile* __platform_state) { // We will monitor this value. return __cxx_atomic_load(__platform_state, memory_order_acquire); } + static void __libcpp_contention_wait(__cxx_atomic_contention_t volatile* __contention_state, __cxx_atomic_contention_t const volatile* __platform_state, __cxx_contention_t __old_value) Index: libcxx/src/support/win32/locale_win32.cpp =================================================================== --- libcxx/src/support/win32/locale_win32.cpp +++ libcxx/src/support/win32/locale_win32.cpp @@ -16,7 +16,7 @@ using std::__libcpp_locale_guard; // FIXME: base currently unused. Needs manual work to construct the new locale -locale_t newlocale( int mask, const char * locale, locale_t /*base*/ ) +locale_t newlocale( int /*mask*/, const char * locale, locale_t /*base*/ ) { return {_create_locale( LC_ALL, locale ), locale}; }