This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by cups-filters configure 1.17.9, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --target=powerpc-buildroot-linux-gnuspe --host=powerpc-buildroot-linux-gnuspe --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-imagefilters --disable-mutool --disable-foomatic --with-cups-config=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-gnuspe/sysroot/usr/bin/cups-config --with-sysroot=/home/buildroot/build/instance-0/output/host/powerpc-buildroot-linux-gnuspe/sysroot --with-pdftops=pdftops --with-jpeg --with-png --with-tiff --enable-dbus --disable-avahi --enable-ghostscript --disable-ijs --enable-poppler ## --------- ## ## Platform. ## ## --------- ## hostname = shattrath uname -m = x86_64 uname -r = 3.16.0-5-amd64 uname -s = Linux uname -v = #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/build/instance-0/output/host/bin PATH: /home/buildroot/build/instance-0/output/host/sbin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3003: checking for a BSD-compatible install configure:3071: result: /usr/bin/install -c configure:3082: checking whether build environment is sane configure:3137: result: yes configure:3196: checking for powerpc-buildroot-linux-gnuspe-strip configure:3223: result: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-strip configure:3288: checking for a thread-safe mkdir -p configure:3327: result: /bin/mkdir -p configure:3334: checking for gawk configure:3350: found /usr/bin/gawk configure:3361: result: gawk configure:3372: checking whether make sets $(MAKE) configure:3394: result: yes configure:3423: checking whether make supports nested variables configure:3440: result: yes configure:3577: checking whether make supports nested variables configure:3594: result: yes configure:3627: checking for powerpc-buildroot-linux-gnuspe-gcc configure:3654: result: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc configure:3923: checking for C compiler version configure:3932: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc --version >&5 powerpc-ctng_e500v2-linux-gnuspe-gcc (crosstool-NG hg+-c65fcf8a34b7) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3943: $? = 0 configure:3932: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc COLLECT_LTO_WRAPPER=/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../libexec/gcc/powerpc-ctng_e500v2-linux-gnuspe/4.7.3/lto-wrapper Target: powerpc-ctng_e500v2-linux-gnuspe Configured with: /home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/src/gcc-4.7.3/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=powerpc-ctng_e500v2-linux-gnuspe --prefix=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe --with-sysroot=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe/powerpc-ctng_e500v2-linux-gnuspe/sysroot --enable-languages=c,c++ --with-cpu=8548 --with-tune=8548 --with-float=hard --with-pkgversion='crosstool-NG hg+-c65fcf8a34b7' --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --with-gmp=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-mpfr=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-mpc=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-ppl=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-cloog=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-libelf=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools/lib -lpwl' --enable-threads=posix --with-long-double-128 --disable-nls --disable-multilib --with-local-prefix=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe/powerpc-ctng_e500v2-linux-gnuspe/sysroot --enable-c99 --enable-long-long --enable-e500_double Thread model: posix gcc version 4.7.3 (crosstool-NG hg+-c65fcf8a34b7) configure:3943: $? = 0 configure:3932: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -V >&5 powerpc-ctng_e500v2-linux-gnuspe-gcc: error: unrecognized command line option '-V' powerpc-ctng_e500v2-linux-gnuspe-gcc: fatal error: no input files compilation terminated. configure:3943: $? = 1 configure:3932: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -qversion >&5 powerpc-ctng_e500v2-linux-gnuspe-gcc: error: unrecognized command line option '-qversion' powerpc-ctng_e500v2-linux-gnuspe-gcc: fatal error: no input files compilation terminated. configure:3943: $? = 1 configure:3963: checking whether the C compiler works configure:3985: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3989: $? = 0 configure:4037: result: yes configure:4040: checking for C compiler default output file name configure:4042: result: a.out configure:4048: checking for suffix of executables configure:4055: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4059: $? = 0 configure:4081: result: configure:4103: checking whether we are cross compiling configure:4141: result: yes configure:4146: checking for suffix of object files configure:4168: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4172: $? = 0 configure:4193: result: o configure:4197: checking whether we are using the GNU C compiler configure:4216: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4216: $? = 0 configure:4225: result: yes configure:4234: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc accepts -g configure:4254: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4254: $? = 0 configure:4295: result: yes configure:4312: checking for /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc option to accept ISO C89 configure:4375: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4375: $? = 0 configure:4388: result: none needed configure:4413: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc understands -c and -o together configure:4435: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -c conftest.c -o conftest2.o configure:4438: $? = 0 configure:4435: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc -c conftest.c -o conftest2.o configure:4438: $? = 0 configure:4450: result: yes configure:4478: checking for style of include used by make configure:4506: result: GNU configure:4532: checking dependency style of /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc configure:4643: result: none configure:4770: checking for C++ compiler version configure:4779: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ --version >&5 powerpc-ctng_e500v2-linux-gnuspe-g++ (crosstool-NG hg+-c65fcf8a34b7) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4790: $? = 0 configure:4779: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ COLLECT_LTO_WRAPPER=/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../libexec/gcc/powerpc-ctng_e500v2-linux-gnuspe/4.7.3/lto-wrapper Target: powerpc-ctng_e500v2-linux-gnuspe Configured with: /home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/src/gcc-4.7.3/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-gnu --target=powerpc-ctng_e500v2-linux-gnuspe --prefix=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe --with-sysroot=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe/powerpc-ctng_e500v2-linux-gnuspe/sysroot --enable-languages=c,c++ --with-cpu=8548 --with-tune=8548 --with-float=hard --with-pkgversion='crosstool-NG hg+-c65fcf8a34b7' --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --with-gmp=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-mpfr=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-mpc=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-ppl=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-cloog=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-libelf=/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/home/ymorin/dev/crosstool-NG/buildroot-toolchains/ct-ng/.build/powerpc-ctng_e500v2-linux-gnuspe/buildtools/lib -lpwl' --enable-threads=posix --with-long-double-128 --disable-nls --disable-multilib --with-local-prefix=/opt/toolchains/powerpc-ctng_e500v2-linux-gnuspe/powerpc-ctng_e500v2-linux-gnuspe/sysroot --enable-c99 --enable-long-long --enable-e500_double Thread model: posix gcc version 4.7.3 (crosstool-NG hg+-c65fcf8a34b7) configure:4790: $? = 0 configure:4779: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -V >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: unrecognized command line option '-V' powerpc-ctng_e500v2-linux-gnuspe-g++: fatal error: no input files compilation terminated. configure:4790: $? = 1 configure:4779: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -qversion >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: unrecognized command line option '-qversion' powerpc-ctng_e500v2-linux-gnuspe-g++: fatal error: no input files compilation terminated. configure:4790: $? = 1 configure:4794: checking whether we are using the GNU C++ compiler configure:4813: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:4813: $? = 0 configure:4822: result: yes configure:4831: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ accepts -g configure:4851: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 configure:4851: $? = 0 configure:4892: result: yes configure:4917: checking dependency style of /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ configure:5028: result: none configure:5051: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features by default configure:5345: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:22:2: error: #error "This is not a C++11 compiler" configure:5345: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5352: result: no configure:5364: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -std=c++11 configure:5660: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1>': conftest.cpp:260:25: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<23>': conftest.cpp:261:26: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<23>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1, 2>': conftest.cpp:262:28: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1, 2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2>': conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<1, 2>::value' conftest.cpp:262:30: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 5, 11>': conftest.cpp:263:32: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 11>': conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:263:34: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<5, 11>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:263:34: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>': conftest.cpp:264:42: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>': conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 7, 11, 13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<7, 11, 13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11, 13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<13>::value' has no initializer configure:5660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5669: result: no configure:5364: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with +std=c++11 configure:5660: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ +std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: +std=c++11: No such file or directory configure:5660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5669: result: no configure:5364: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -h std=c++11 configure:5660: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -h std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:22:2: error: #error "This is not a C++11 compiler" configure:5660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5669: result: no configure:5364: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -std=c++0x configure:5660: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1>': conftest.cpp:260:25: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<23>': conftest.cpp:261:26: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<23>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<1, 2>': conftest.cpp:262:28: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<1, 2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2>': conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<1, 2>::value' conftest.cpp:262:30: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 5, 11>': conftest.cpp:263:32: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 11>': conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:263:34: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<5, 11>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<5, 5, 11>::value' conftest.cpp:263:34: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>': conftest.cpp:264:42: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>': conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<5, 7, 11, 13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<5, 7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<7, 11, 13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<7, 11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<11, 13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<11, 13>::value' has no initializer conftest.cpp: In instantiation of 'struct cxx11::test_variadic_templates::sum<13>': conftest.cpp:250:57: recursively required from 'constexpr cxx11::test_variadic_templates::sum<3, 5, 7, 11, 13>::value' conftest.cpp:250:57: required from 'constexpr cxx11::test_variadic_templates::sum<2, 3, 5, 7, 11, 13>::value' conftest.cpp:264:44: required from here conftest.cpp:250:57: error: declaration of 'constexpr const auto cxx11::test_variadic_templates::sum<13>::value' has no initializer configure:5660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5669: result: no configure:5364: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with +std=c++0x configure:5660: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ +std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 powerpc-ctng_e500v2-linux-gnuspe-g++: error: +std=c++0x: No such file or directory configure:5660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5669: result: no configure:5364: checking whether /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ supports C++11 features with -h std=c++0x configure:5660: /home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ -h std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 conftest.cpp:22:2: error: #error "This is not a C++11 compiler" configure:5660: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cups-filters" | #define PACKAGE_TARNAME "cups-filters" | #define PACKAGE_VERSION "1.17.9" | #define PACKAGE_STRING "cups-filters 1.17.9" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "cups-filters" | #define VERSION "1.17.9" | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201103L | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual void f() {} | }; | | struct Derived : public Base | { | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:5669: result: no configure:5693: error: *** A compiler with support for C++11 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_bigendian=yes ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_AVAHI_CFLAGS_set= ac_cv_env_AVAHI_CFLAGS_value= ac_cv_env_AVAHI_GLIB_CFLAGS_set= ac_cv_env_AVAHI_GLIB_CFLAGS_value= ac_cv_env_AVAHI_GLIB_LIBS_set= ac_cv_env_AVAHI_GLIB_LIBS_value= ac_cv_env_AVAHI_LIBS_set= ac_cv_env_AVAHI_LIBS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++ ac_cv_env_DBUS_CFLAGS_set= ac_cv_env_DBUS_CFLAGS_value= ac_cv_env_DBUS_LIBS_set= ac_cv_env_DBUS_LIBS_value= ac_cv_env_FONTCONFIG_CFLAGS_set= ac_cv_env_FONTCONFIG_CFLAGS_value= ac_cv_env_FONTCONFIG_LIBS_set= ac_cv_env_FONTCONFIG_LIBS_value= ac_cv_env_FREETYPE_CFLAGS_set= ac_cv_env_FREETYPE_CFLAGS_value= ac_cv_env_FREETYPE_LIBS_set= ac_cv_env_FREETYPE_LIBS_value= ac_cv_env_GIO_CFLAGS_set= ac_cv_env_GIO_CFLAGS_value= ac_cv_env_GIO_LIBS_set= ac_cv_env_GIO_LIBS_value= ac_cv_env_GIO_UNIX_CFLAGS_set= ac_cv_env_GIO_UNIX_CFLAGS_value= ac_cv_env_GIO_UNIX_LIBS_set= ac_cv_env_GIO_UNIX_LIBS_value= ac_cv_env_GLIB_CFLAGS_set= ac_cv_env_GLIB_CFLAGS_value= ac_cv_env_GLIB_LIBS_set= ac_cv_env_GLIB_LIBS_value= ac_cv_env_IJS_CFLAGS_set= ac_cv_env_IJS_CFLAGS_value= ac_cv_env_IJS_LIBS_set= ac_cv_env_IJS_LIBS_value= ac_cv_env_LCMS_CFLAGS_set= ac_cv_env_LCMS_CFLAGS_value= ac_cv_env_LCMS_LIBS_set= ac_cv_env_LCMS_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBPNG_CFLAGS_set= ac_cv_env_LIBPNG_CFLAGS_value= ac_cv_env_LIBPNG_LIBS_set= ac_cv_env_LIBPNG_LIBS_value= ac_cv_env_LIBQPDF_CFLAGS_set= ac_cv_env_LIBQPDF_CFLAGS_value= ac_cv_env_LIBQPDF_LIBS_set= ac_cv_env_LIBQPDF_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value=/home/buildroot/build/instance-0/output/host/bin/pkg-config ac_cv_env_POPPLER_CFLAGS_set= ac_cv_env_POPPLER_CFLAGS_value= ac_cv_env_POPPLER_LIBS_set= ac_cv_env_POPPLER_LIBS_value= ac_cv_env_ZLIB_CFLAGS_set= ac_cv_env_ZLIB_CFLAGS_value= ac_cv_env_ZLIB_LIBS_set= ac_cv_env_ZLIB_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=powerpc-buildroot-linux-gnuspe ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=powerpc-buildroot-linux-gnuspe ac_cv_func_calloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_have_decl_malloc=yes ac_cv_lbl_unaligned_fail=no ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc ac_cv_prog_STRIP=/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_cxx_compile_cxx11=no ax_cv_cxx_compile_cxx11__h_std_cpp0x=no ax_cv_cxx_compile_cxx11__h_std_cpp11=no ax_cv_cxx_compile_cxx11__std_cpp0x=no ax_cv_cxx_compile_cxx11__std_cpp11=no ax_cv_cxx_compile_cxx11_pstd_cpp0x=no ax_cv_cxx_compile_cxx11_pstd_cpp11=no gl_cv_func_malloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec= ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/buildroot/build/instance-0/output/build/cups-filters-1.17.9/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' APPLE_RASTER_FILTER='' AR='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-ar' AUTOCONF='${SHELL} /home/buildroot/build/instance-0/output/build/cups-filters-1.17.9/missing autoconf' AUTOHEADER='${SHELL} /home/buildroot/build/instance-0/output/build/cups-filters-1.17.9/missing autoheader' AUTOMAKE='${SHELL} /home/buildroot/build/instance-0/output/build/cups-filters-1.17.9/missing automake-1.15' AVAHI_CFLAGS='' AVAHI_GLIB_CFLAGS='' AVAHI_GLIB_LIBS='' AVAHI_LIBS='' AWK='gawk' BANNERTOPDF_DATADIR='' BROWSEREMOTEPROTOCOLS='' BUILD_DBUS_FALSE='' BUILD_DBUS_TRUE='' CC='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' CPP='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CUPSCONFIG='' CUPS_CFLAGS='' CUPS_DATADIR='' CUPS_DEFAULT_DOMAINSOCKET='' CUPS_FONTPATH='' CUPS_GHOSTSCRIPT='' CUPS_LIBS='' CUPS_MUTOOL='' CUPS_PDFTOPS='' CUPS_SERVERBIN='' CUPS_SERVERROOT='' CUPS_STATEDIR='' CXX='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-g++' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -Os ' CYGPATH_W='echo' DBUS_CFLAGS='' DBUS_LIBS='' DEFS='' DEPDIR='.deps' DLLTOOL='' DLOPEN_LIBS='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_AVAHI_FALSE='' ENABLE_AVAHI_TRUE='' ENABLE_BRAILLE_FALSE='' ENABLE_BRAILLE_TRUE='' ENABLE_DRIVERLESS_FALSE='' ENABLE_DRIVERLESS_TRUE='' ENABLE_FOOMATIC_FALSE='' ENABLE_FOOMATIC_TRUE='' ENABLE_GHOSTSCRIPT_FALSE='' ENABLE_GHOSTSCRIPT_TRUE='' ENABLE_IJS_FALSE='' ENABLE_IJS_TRUE='' ENABLE_IMAGEFILTERS_FALSE='' ENABLE_IMAGEFILTERS_TRUE='' ENABLE_MUTOOL_FALSE='' ENABLE_MUTOOL_TRUE='' ENABLE_POPPLER_FALSE='' ENABLE_POPPLER_TRUE='' ENABLE_URFTOPDF_FALSE='' ENABLE_URFTOPDF_TRUE='' EXEEXT='' FGREP='' FONTCONFIG_CFLAGS='' FONTCONFIG_LIBS='' FONTDIR='' FREETYPE_CFLAGS='' FREETYPE_LIBS='' GETLINE='' GIO_CFLAGS='' GIO_LIBS='' GIO_UNIX_CFLAGS='' GIO_UNIX_LIBS='' GLIB_CFLAGS='' GLIB_LIBS='' GREP='' HAVE_CXX11='' IJS_CFLAGS='' IJS_LIBS='' INITDDIR='' INITDIR='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LARGEFILE='' LCMS_CFLAGS='' LCMS_LIBS='' LD='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-ld' LDFLAGS='' LIBJPEG_LIBS='' LIBOBJS='' LIBPNG_CFLAGS='' LIBPNG_LIBS='' LIBQPDF_CFLAGS='' LIBQPDF_LIBS='' LIBS='' LIBTIFF_LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/buildroot/build/instance-0/output/build/cups-filters-1.17.9/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/bin/mkdir -p' NM='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-nm' NMEDIT='' OBJDUMP='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='cups-filters' PACKAGE_BUGREPORT='' PACKAGE_NAME='cups-filters' PACKAGE_STRING='cups-filters 1.17.9' PACKAGE_TARNAME='cups-filters' PACKAGE_URL='' PACKAGE_VERSION='1.17.9' PATH_SEPARATOR=':' PHPCONFIG='' PHPDIR='' PKG_CONFIG='/home/buildroot/build/instance-0/output/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' POPPLER_CFLAGS='' POPPLER_LIBS='' QPDF_NO_PCLM='' RANLIB='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-ranlib' RCLEVELS='' RCLINKS_FALSE='' RCLINKS_TRUE='' RCSTART='' RCSTOP='' SED='' SET_MAKE='' SHELL='/bin/sh' STRCASESTR='' STRIP='/home/buildroot/build/instance-0/output/host/bin/powerpc-ctng_e500v2-linux-gnuspe-strip' TABLESDIR='' VERSION='1.17.9' WITH_PHP_FALSE='' WITH_PHP_TRUE='' ZLIB_CFLAGS='' ZLIB_LIBS='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='/usr/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='' build_os='' build_vendor='' datadir='/usr/share' datarootdir='/usr/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='powerpc-buildroot-linux-gnuspe' host_alias='powerpc-buildroot-linux-gnuspe' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/build/instance-0/output/build/cups-filters-1.17.9/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='/usr/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='powerpc-buildroot-linux-gnuspe' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "cups-filters" #define PACKAGE_TARNAME "cups-filters" #define PACKAGE_VERSION "1.17.9" #define PACKAGE_STRING "cups-filters 1.17.9" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "cups-filters" #define VERSION "1.17.9" configure: exit 1