DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build --target all --
[1/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/owner_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/owner_tests.cpp:27:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
27 | TEST(owner_tests, basic_test)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
1 error generated.
[2/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/byte_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/byte_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/byte_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/byte_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/byte_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/byte_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/byte_tests.cpp:37:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
37 | TEST(byte_tests, construction)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/byte_tests.cpp:75:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
75 | TEST(byte_tests, bitwise_operations)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/byte_tests.cpp:111:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
111 | TEST(byte_tests, to_integer)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/byte_tests.cpp:129:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
129 | TEST(byte_tests, aliasing)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
4 errors generated.
[3/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/algorithm_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/algorithm_tests.cpp:32:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
32 | TEST(algorithm_tests, same_type)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/algorithm_tests.cpp:107:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
107 | TEST(algorithm_tests, compatible_type)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/algorithm_tests.cpp:201:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
201 | TEST(algorithm_tests, small_destination_span)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
3 errors generated.
[4/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:32:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
32 | TEST(span_ext_test, make_span_from_pointer_length_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:64:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
64 | TEST(span_ext_test, make_span_from_pointer_pointer_construction)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:90:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
90 | TEST(span_ext_test, make_span_from_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:115:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
115 | TEST(span_ext_test, make_span_from_dynamic_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:128:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
128 | TEST(span_ext_test, make_span_from_std_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:157:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
157 | TEST(span_ext_test, make_span_from_const_std_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:168:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
168 | TEST(span_ext_test, make_span_from_std_array_const_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:179:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
179 | TEST(span_ext_test, make_span_from_container_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:195:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
195 | TEST(span_test, interop_with_gsl_at)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:221:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
221 | TEST(span_ext_test, iterator_free_functions)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:251:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
251 | TEST(span_ext_test, ssize_free_function)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_ext_tests.cpp:261:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
261 | TEST(span_ext_test, comparison_operators)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
12 errors generated.
[5/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:79:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
79 | TEST(span_test, constructors)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:90:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
90 | TEST(span_test, constructors_with_extent)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:101:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
101 | TEST(span_test, constructors_with_bracket_init)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:112:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
112 | TEST(span_test, size_optimization)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:121:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
121 | TEST(span_test, from_nullptr_size_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:169:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
169 | TEST(span_test, from_pointer_length_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:223:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
223 | TEST(span_test, from_pointer_pointer_construction)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:285:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
285 | TEST(span_test, from_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:343:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
343 | TEST(span_test, from_dynamic_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:363:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
363 | TEST(span_test, from_std_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:431:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
431 | TEST(span_test, from_const_std_array_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:470:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
470 | TEST(span_test, from_std_array_const_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:496:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
496 | TEST(span_test, from_container_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:568:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
568 | TEST(span_test, from_convertible_span_constructor)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:633:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
633 | TEST(span_test, copy_move_and_assignment)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:659:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
659 | TEST(span_test, first)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:702:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
702 | TEST(span_test, last)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:745:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
745 | TEST(span_test, subspan)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_tests.cpp:870:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
870 | TEST(span_test, iterator_default_init)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[6/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/assertion_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/assertion_tests.cpp:40:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
40 | TEST(assertion_tests, expects)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/assertion_tests.cpp:51:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
51 | TEST(assertion_tests, ensures)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
2 errors generated.
[7/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:175:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
175 | TEST(notnull_tests, TestNotNullConstructors)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:299:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
299 | TEST(notnull_tests, TestNotNullostream)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:331:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
331 | TEST(notnull_tests, TestNotNullCasting)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:369:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
369 | TEST(notnull_tests, TestNotNullAssignment)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:385:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
385 | TEST(notnull_tests, TestNotNullRawPointerComparison)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:413:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
413 | TEST(notnull_tests, TestNotNullDereferenceOperator)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:443:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
443 | TEST(notnull_tests, TestNotNullSharedPtrComparison)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:474:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
474 | TEST(notnull_tests, TestNotNullCustomPtrComparison)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:623:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
623 | TEST(notnull_tests, TestMakeNotNull)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/notnull_tests.cpp:709:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
709 | TEST(notnull_tests, TestStdHash)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
10 errors generated.
[8/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/pointers_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/pointers_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/pointers_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/pointers_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/pointers_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/pointers_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/pointers_tests.cpp:39:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
39 | TEST(pointers_test, swap)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/pointers_tests.cpp:91:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
91 | TEST(pointers_test, member_types)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
2 errors generated.
[9/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/at_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/at_tests.cpp:32:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
32 | TEST(at_tests, static_array)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/at_tests.cpp:55:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
55 | TEST(at_tests, std_array)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/at_tests.cpp:78:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
78 | TEST(at_tests, std_vector)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/at_tests.cpp:101:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
101 | TEST(at_tests, InitializerList)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
4 errors generated.
[10/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o
FAILED: [code=1] tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -ITMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/include -isystem TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/googletest/googletest/include -target i686-yoe-linux -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --dyld-prefix=/usr --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot -O2 -g -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build=/usr/src/debug/microsoft-gsl/4.2.0 -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot= -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -Wno-error=unused-value -Wno-error=switch-default -std=c++14 -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -Wfloat-equal -Wno-deprecated-declarations -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-braces -Wno-covered-switch-default -Wno-global-constructors -Wno-missing-prototypes -Wno-padded -Wno-switch-default -Wno-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -Wno-unsafe-buffer-usage -MD -MT tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o -c TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_compatibility_tests.cpp
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/sources/microsoft-gsl-4.2.0/tests/span_compatibility_tests.cpp:72:1: error: use of the 'maybe_unused' attribute is a C++17 extension [-Werror,-Wc++17-attribute-extensions]
72 | TEST(span_compatibility_tests, assertion_tests)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2192:42: note: expanded from macro 'TEST'
2192 | #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name)
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/gtest.h:2186:3: note: expanded from macro 'GTEST_TEST'
2186 | GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-internal.h:1504:5: note: expanded from macro 'GTEST_TEST_'
1504 | GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED static ::testing::TestInfo* const \
| ^
TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/recipe-sysroot/usr/include/gtest/internal/gtest-port.h:784:49: note: expanded from macro 'GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED'
784 | #define GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED [[maybe_unused]]
| ^
1 error generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/temp/run.do_compile.2762659:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/temp/run.do_compile.2762659, line 153
#2: cmake_do_compile, TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/temp/run.do_compile.2762659, line 147
#3: do_compile, TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/temp/run.do_compile.2762659, line 142
#4: main, TMPDIR/work/core2-32-yoe-linux/microsoft-gsl/4.2.0/temp/run.do_compile.2762659, line 166