Index: test/depr/depr.c.headers/stdarg_h.pass.cpp =================================================================== --- test/depr/depr.c.headers/stdarg_h.pass.cpp +++ test/depr/depr.c.headers/stdarg_h.pass.cpp @@ -15,9 +15,11 @@ #error va_arg not defined #endif +#if __cplusplus >= 201103L #ifndef va_copy #error va_copy not defined #endif +#endif #ifndef va_end #error va_end not defined Index: test/language.support/support.runtime/cstdarg.pass.cpp =================================================================== --- test/language.support/support.runtime/cstdarg.pass.cpp +++ test/language.support/support.runtime/cstdarg.pass.cpp @@ -15,9 +15,11 @@ #error va_arg not defined #endif +#if __cplusplus >= 201103L #ifndef va_copy #error va_copy not defined #endif +#endif #ifndef va_end #error va_end not defined Index: test/language.support/support.start.term/quick_exit.pass.cpp =================================================================== --- test/language.support/support.start.term/quick_exit.pass.cpp +++ test/language.support/support.start.term/quick_exit.pass.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// // // XFAIL: apple-darwin +// UNSUPPORTED: c++98, c++03 // test quick_exit and at_quick_exit Index: test/language.support/support.types/nullptr_t.pass.cpp =================================================================== --- test/language.support/support.types/nullptr_t.pass.cpp +++ test/language.support/support.types/nullptr_t.pass.cpp @@ -54,6 +54,8 @@ assert(!(nullptr != a)); assert(!(nullptr < a)); assert(!(nullptr > a)); +#ifndef _LIBCPP_HAS_NO_NULLPTR std::ptrdiff_t i = reinterpret_cast(nullptr); assert(i == 0); +#endif }