DEBUG: Executing shell function do_compile
NOTE: cmake --build TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build --target all --
[1/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/assertion_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/assertion_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/assertion_tests.cpp:48:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
48 | EXPECT_DEATH(f(10), GetExpectedDeathString(terminateHandler));
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/assertion_tests.cpp:59:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
59 | EXPECT_DEATH(g(9), GetExpectedDeathString(terminateHandler));
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
2 errors generated.
[2/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/owner_tests.cpp.o
[3/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/at_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:48:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
48 | EXPECT_DEATH(gsl::at(a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:49:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
49 | EXPECT_DEATH(gsl::at(a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:50:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
50 | EXPECT_DEATH(gsl::at(c_a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:51:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
51 | EXPECT_DEATH(gsl::at(c_a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:71:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
71 | EXPECT_DEATH(gsl::at(a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:72:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
72 | EXPECT_DEATH(gsl::at(a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:73:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
73 | EXPECT_DEATH(gsl::at(c_a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:74:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
74 | EXPECT_DEATH(gsl::at(c_a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:94:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
94 | EXPECT_DEATH(gsl::at(a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:95:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
95 | EXPECT_DEATH(gsl::at(a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:96:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
96 | EXPECT_DEATH(gsl::at(c_a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:97:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
97 | EXPECT_DEATH(gsl::at(c_a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:116:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
116 | EXPECT_DEATH(gsl::at(a, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:117:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
117 | EXPECT_DEATH(gsl::at(a, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:118:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
118 | EXPECT_DEATH(gsl::at({1, 2, 3, 4}, -1), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:119:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
119 | EXPECT_DEATH(gsl::at({1, 2, 3, 4}, 4), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
In file included from TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/at_tests.cpp:19:
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/util:119:12: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
119 | return arr[narrow_cast<std::size_t>(i)];
| ^~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/util:119:12: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
119 | return arr[narrow_cast<std::size_t>(i)];
| ^~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/util:141:19: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
141 | return *(cont.begin() + i);
| ~~~~~^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[4/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/strict_notnull_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/strict_notnull_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -MD -MT tests/CMakeFiles/gsl_tests.dir/strict_notnull_tests.cpp.o -MF tests/CMakeFiles/gsl_tests.dir/strict_notnull_tests.cpp.o.d -o tests/CMakeFiles/gsl_tests.dir/strict_notnull_tests.cpp.o -c TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/strict_notnull_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/strict_notnull_tests.cpp:171:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
171 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/strict_notnull_tests.cpp:179:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
179 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/strict_notnull_tests.cpp:185:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
185 | EXPECT_DEATH(helper(strict_not_null{p}), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/strict_notnull_tests.cpp:186:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
186 | EXPECT_DEATH(helper_const(strict_not_null{p}), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
4 errors generated.
[5/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/span_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:133:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
133 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:137:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
137 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:140:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
140 | EXPECT_DEATH(const_workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:144:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
144 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:147:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
147 | EXPECT_DEATH(const_workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:210:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
210 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:740:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
740 | EXPECT_DEATH(av.first(6).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:783:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
783 | EXPECT_DEATH(av.last(6).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:824:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
824 | EXPECT_DEATH(av.subspan(0, 6).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:825:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
825 | EXPECT_DEATH(av.subspan(1, 5).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:834:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
834 | EXPECT_DEATH(av.subspan(6, 0).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:848:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
848 | EXPECT_DEATH((av.subspan<1, 0>().size()), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:854:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
854 | EXPECT_DEATH(av.subspan(1).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:863:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
863 | EXPECT_DEATH(av.subspan(6).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:874:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
874 | EXPECT_DEATH(av.subspan(6).size(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:931:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
931 | EXPECT_DEATH([[maybe_unused]] bool _ = (s.begin() == s2.begin()), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:932:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
932 | EXPECT_DEATH([[maybe_unused]] bool _ = (s.begin() <= s2.begin()), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:972:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
972 | EXPECT_DEATH(*beyond, expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_tests.cpp:1020:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
1020 | EXPECT_DEATH([[maybe_unused]] auto _ = *beyond, expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[6/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/notnull_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:177:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
177 | EXPECT_DEATH((not_null<decltype(pi)>(pi)), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:234:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
234 | EXPECT_DEATH(helper(return_pointer()), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:235:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
235 | EXPECT_DEATH(helper_const(return_pointer()), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:306:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
306 | EXPECT_DEATH(p = not_null<int*>(q), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:466:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
466 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:474:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
474 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:480:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
480 | EXPECT_DEATH(helper(not_null{p}), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:481:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
481 | EXPECT_DEATH(helper_const(not_null{p}), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:529:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
529 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:538:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
538 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:544:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
544 | EXPECT_DEATH(helper(make_not_null(p)), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:545:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
545 | EXPECT_DEATH(helper_const(make_not_null(p)), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:313:22: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
313 | const int* p2 = &ints[1];
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/notnull_tests.cpp:402:30: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
402 | CustomPtr<const int> p2(&ints[1]);
| ^~~~
14 errors generated.
[7/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/span_ext_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_ext_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_ext_tests.cpp:59:9: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
59 | EXPECT_DEATH(workaround_macro(), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
In file included from TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_ext_tests.cpp:19:
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:614:16: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
614 | return data()[idx];
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:638:23: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
638 | return {data, data + size(), data};
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:647:30: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
647 | const auto endData = data + storage_.size();
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:153:15: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
153 | ++current_;
| ^~~~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_ext_tests.cpp:68:38: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
68 | auto s = make_span(&arr[0], &arr[2]);
| ^~~
6 errors generated.
[8/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/algorithm_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/algorithm_tests.cpp
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/algorithm_tests.cpp:217:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
217 | EXPECT_DEATH(copy(src_span_dyn, dst_span_dyn), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/algorithm_tests.cpp:218:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
218 | EXPECT_DEATH(copy(src_span_dyn, dst_span_static), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/algorithm_tests.cpp:219:5: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
219 | EXPECT_DEATH(copy(src_span_static, dst_span_dyn), expected);
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:190:3: note: expanded from macro 'EXPECT_DEATH'
190 | EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/gtest-death-test.h:179:3: note: expanded from macro 'EXPECT_EXIT'
179 | GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_)
| ^
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot/usr/include/gtest/internal/gtest-death-test-internal.h:234:7: note: expanded from macro 'GTEST_DEATH_TEST_'
234 | switch (gtest_dt->AssumeRole()) { \
| ^
In file included from TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/algorithm_tests.cpp:19:
In file included from TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/algorithm:21:
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:729:61: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
729 | if (count == dynamic_extent) { return {KnownNotNull{data() + offset}, size() - offset}; }
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:732:30: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
732 | return {KnownNotNull{data() + offset}, count};
| ^~~~~~
5 errors generated.
[9/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/byte_tests.cpp.o
[10/15] Building CXX object tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o
FAILED: tests/CMakeFiles/gsl_tests.dir/span_compatibility_tests.cpp.o
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native/usr/bin/arm-yoe-linux-gnueabi/arm-yoe-linux-gnueabi-clang++ --sysroot=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -ITOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include -isystem TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/googletest/googletest/include -target arm-yoe-linux-gnueabi -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -mlittle-endian --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=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git=/usr/src/debug/microsoft-gsl/4.0.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build=/usr/src/debug/microsoft-gsl/4.0.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/recipe-sysroot-native= -fvisibility-inlines-hidden -fno-strict-aliasing -Wall -Wcast-align -Wconversion -Wctor-dtor-privacy -Werror -Wextra -Wpedantic -Wshadow -Wsign-conversion -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-unknown-attributes -Wno-used-but-marked-unused -Wno-weak-vtables -Wno-unused-member-function -Wno-unused-variable -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 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_compatibility_tests.cpp
In file included from TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/tests/span_compatibility_tests.cpp:20:
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:562:42: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
562 | return span<element_type, Count>{data() + (size() - Count), Count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:575:21: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
575 | return type{data() + Offset, Count == dynamic_extent ? size() - Offset : Count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:575:21: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
575 | return type{data() + Offset, Count == dynamic_extent ? size() - Offset : Count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:614:16: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
614 | return data()[idx];
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:626:16: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
626 | return data()[size() - 1];
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:638:23: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
638 | return {data, data + size(), data};
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:647:30: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
647 | const auto endData = data + storage_.size();
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:729:61: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
729 | if (count == dynamic_extent) { return {KnownNotNull{data() + offset}, size() - offset}; }
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:732:30: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
732 | return {KnownNotNull{data() + offset}, count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:638:23: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
638 | return {data, data + size(), data};
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:562:42: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
562 | return span<element_type, Count>{data() + (size() - Count), Count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:575:21: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
575 | return type{data() + Offset, Count == dynamic_extent ? size() - Offset : Count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:575:21: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
575 | return type{data() + Offset, Count == dynamic_extent ? size() - Offset : Count};
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:614:16: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
614 | return data()[idx];
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:626:16: error: unsafe buffer access [-Werror,-Wunsafe-buffer-usage]
626 | return data()[size() - 1];
| ^~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:638:23: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
638 | return {data, data + size(), data};
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:647:30: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
647 | const auto endData = data + storage_.size();
| ^~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:168:15: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
168 | --current_;
| ^~~~~~~~
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/git/include/gsl/span:187:13: error: unsafe pointer arithmetic [-Werror,-Wunsafe-buffer-usage]
187 | current_ += n;
| ^~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/temp/run.do_compile.341825:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/temp/run.do_compile.341825, line 153
#2: cmake_do_compile, TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/temp/run.do_compile.341825, line 147
#3: do_compile, TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/temp/run.do_compile.341825, line 142
#4: main, TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/microsoft-gsl/4.0.0/temp/run.do_compile.341825, line 166