diff --git a/test/allocate_local_shared_array_construct_test.cpp b/test/allocate_local_shared_array_construct_test.cpp index c5bc3ef..0f8bc1b 100644 --- a/test/allocate_local_shared_array_construct_test.cpp +++ b/test/allocate_local_shared_array_construct_test.cpp @@ -5,10 +5,13 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \ + !defined(BOOST_NO_CXX11_ALLOCATOR) #include #include -#if !defined(BOOST_NO_CXX11_ALLOCATOR) struct allow { }; template diff --git a/test/allocate_local_shared_array_esft_test.cpp b/test/allocate_local_shared_array_esft_test.cpp index 8f5195e..7138745 100644 --- a/test/allocate_local_shared_array_esft_test.cpp +++ b/test/allocate_local_shared_array_esft_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include #include @@ -92,3 +95,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/allocate_local_shared_array_noinit_test.cpp b/test/allocate_local_shared_array_noinit_test.cpp index 13e01f3..e2e1619 100644 --- a/test/allocate_local_shared_array_noinit_test.cpp +++ b/test/allocate_local_shared_array_noinit_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include #include @@ -243,3 +246,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/allocate_local_shared_array_test.cpp b/test/allocate_local_shared_array_test.cpp index cc0e697..34f3d42 100644 --- a/test/allocate_local_shared_array_test.cpp +++ b/test/allocate_local_shared_array_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include #include @@ -264,3 +267,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/allocate_local_shared_array_throws_test.cpp b/test/allocate_local_shared_array_throws_test.cpp index 6c344f9..78ae6b6 100644 --- a/test/allocate_local_shared_array_throws_test.cpp +++ b/test/allocate_local_shared_array_throws_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include @@ -119,3 +122,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/allocate_local_shared_array_value_test.cpp b/test/allocate_local_shared_array_value_test.cpp index 8fe669e..7d9c35f 100644 --- a/test/allocate_local_shared_array_value_test.cpp +++ b/test/allocate_local_shared_array_value_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include @@ -81,3 +84,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/allocate_local_shared_arrays_test.cpp b/test/allocate_local_shared_arrays_test.cpp index 2b6ce0c..d45a686 100644 --- a/test/allocate_local_shared_arrays_test.cpp +++ b/test/allocate_local_shared_arrays_test.cpp @@ -5,10 +5,13 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \ + !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) #include #include -#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) template struct creator { typedef T value_type; diff --git a/test/allocate_shared_array_construct_test.cpp b/test/allocate_shared_array_construct_test.cpp index d3b81c3..ef0dc95 100644 --- a/test/allocate_shared_array_construct_test.cpp +++ b/test/allocate_shared_array_construct_test.cpp @@ -5,10 +5,11 @@ Copyright 2012-2015 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_ALLOCATOR) #include #include -#if !defined(BOOST_NO_CXX11_ALLOCATOR) struct allow { }; template diff --git a/test/allocate_shared_arrays_test.cpp b/test/allocate_shared_arrays_test.cpp index bcc16a2..a23930c 100644 --- a/test/allocate_shared_arrays_test.cpp +++ b/test/allocate_shared_arrays_test.cpp @@ -5,10 +5,11 @@ Copyright 2012-2015 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) #include #include -#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) template struct creator { typedef T value_type; diff --git a/test/make_local_shared_array_esft_test.cpp b/test/make_local_shared_array_esft_test.cpp index f09b9f2..5106f39 100644 --- a/test/make_local_shared_array_esft_test.cpp +++ b/test/make_local_shared_array_esft_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include #include @@ -55,3 +58,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/make_local_shared_array_noinit_test.cpp b/test/make_local_shared_array_noinit_test.cpp index a6b9dd5..f4a07a2 100644 --- a/test/make_local_shared_array_noinit_test.cpp +++ b/test/make_local_shared_array_noinit_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include #include @@ -205,3 +208,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/make_local_shared_array_test.cpp b/test/make_local_shared_array_test.cpp index fbd9e89..2781763 100644 --- a/test/make_local_shared_array_test.cpp +++ b/test/make_local_shared_array_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include #include @@ -227,3 +230,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/make_local_shared_array_throws_test.cpp b/test/make_local_shared_array_throws_test.cpp index 2d4781b..e1841df 100644 --- a/test/make_local_shared_array_throws_test.cpp +++ b/test/make_local_shared_array_throws_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include @@ -82,3 +85,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/make_local_shared_array_value_test.cpp b/test/make_local_shared_array_value_test.cpp index 9f4b0e0..ab07460 100644 --- a/test/make_local_shared_array_value_test.cpp +++ b/test/make_local_shared_array_value_test.cpp @@ -5,6 +5,9 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) #include #include @@ -44,3 +47,9 @@ int main() } return boost::report_errors(); } +#else +int main() +{ + return 0; +} +#endif diff --git a/test/make_local_shared_arrays_test.cpp b/test/make_local_shared_arrays_test.cpp index 239a016..986b88f 100644 --- a/test/make_local_shared_arrays_test.cpp +++ b/test/make_local_shared_arrays_test.cpp @@ -5,10 +5,13 @@ Copyright 2017 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \ + !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && \ + !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) #include #include -#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) int main() { { diff --git a/test/make_shared_arrays_test.cpp b/test/make_shared_arrays_test.cpp index 0022e01..598b974 100644 --- a/test/make_shared_arrays_test.cpp +++ b/test/make_shared_arrays_test.cpp @@ -5,10 +5,11 @@ Copyright 2012-2015 Glen Joseph Fernandes Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ +#include +#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) #include #include -#if !defined(BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX) int main() { {