This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Capn Proto configure 0.7.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/home/peko/autobuild/instance-0/output/host --sysconfdir=/home/peko/autobuild/instance-0/output/host/etc --localstatedir=/home/peko/autobuild/instance-0/output/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking ## --------- ## ## Platform. ## ## --------- ## hostname = gcc2-power8.osuosl.org uname -m = ppc64le uname -r = 3.10.0-957.10.1.el7.ppc64le uname -s = Linux uname -v = #1 SMP Thu Mar 14 11:25:48 GMT 2019 /usr/bin/uname -p = ppc64le /bin/uname -X = unknown /bin/arch = ppc64le /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/peko/autobuild/instance-0/output/host/bin PATH: /home/peko/autobuild/instance-0/output/host/sbin PATH: /home/peko/host/usr/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /home/peko/.local/bin PATH: /home/peko/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2671: checking for a BSD-compatible install configure:2739: result: /usr/bin/install -c configure:2750: checking whether build environment is sane configure:2805: result: yes configure:2956: checking for a thread-safe mkdir -p configure:2995: result: /usr/bin/mkdir -p configure:3002: checking for gawk configure:3018: found /home/peko/autobuild/instance-0/output/host/bin/gawk configure:3029: result: gawk configure:3040: checking whether make sets $(MAKE) configure:3062: result: yes configure:3091: checking whether make supports nested variables configure:3108: result: yes configure:3197: checking whether UID '10043' is supported by ustar format configure:3200: result: yes configure:3207: checking whether GID '10043' is supported by ustar format configure:3210: result: yes configure:3218: checking how to create a ustar tar archive configure:3229: tar --version tar (GNU tar) 1.29 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. configure:3232: $? = 0 configure:3272: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar configure:3275: $? = 0 configure:3279: tar -xf - &5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Copyright (C) 2015 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:3719: $? = 0 configure:3708: /usr/bin/gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/ppc64le-redhat-linux/4.8.5/lto-wrapper Target: ppc64le-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-ppc64le-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-ppc64le-redhat-linux/cloog-install --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --enable-targets=powerpcle-linux --disable-multilib --with-cpu-64=power8 --with-tune-64=power8 --build=ppc64le-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) configure:3719: $? = 0 configure:3708: /usr/bin/gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3719: $? = 4 configure:3708: /usr/bin/gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3719: $? = 4 configure:3739: checking whether the C compiler works configure:3761: /usr/bin/gcc -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include -L/home/peko/autobuild/instance-0/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output/host/lib conftest.c >&5 configure:3765: $? = 0 configure:3813: result: yes configure:3816: checking for C compiler default output file name configure:3818: result: a.out configure:3824: checking for suffix of executables configure:3831: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include -L/home/peko/autobuild/instance-0/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output/host/lib conftest.c >&5 configure:3835: $? = 0 configure:3857: result: configure:3879: checking whether we are cross compiling configure:3887: /usr/bin/gcc -o conftest -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include -L/home/peko/autobuild/instance-0/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output/host/lib conftest.c >&5 configure:3891: $? = 0 configure:3898: ./conftest configure:3902: $? = 0 configure:3917: result: no configure:3922: checking for suffix of object files configure:3944: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.c >&5 configure:3948: $? = 0 configure:3969: result: o configure:3973: checking whether we are using the GNU C compiler configure:3992: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.c >&5 configure:3992: $? = 0 configure:4001: result: yes configure:4010: checking whether /usr/bin/gcc accepts -g configure:4030: /usr/bin/gcc -c -g -I/home/peko/autobuild/instance-0/output/host/include conftest.c >&5 configure:4030: $? = 0 configure:4071: result: yes configure:4088: checking for /usr/bin/gcc option to accept ISO C89 configure:4151: /usr/bin/gcc -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.c >&5 configure:4151: $? = 0 configure:4164: result: none needed configure:4189: checking whether /usr/bin/gcc understands -c and -o together configure:4211: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4214: $? = 0 configure:4211: /usr/bin/gcc -c conftest.c -o conftest2.o configure:4214: $? = 0 configure:4226: result: yes configure:4254: checking for style of include used by make configure:4282: result: GNU configure:4308: checking dependency style of /usr/bin/gcc configure:4419: result: none configure:4546: checking for C++ compiler version configure:4555: /usr/bin/g++ --version >&5 g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Copyright (C) 2015 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:4566: $? = 0 configure:4555: /usr/bin/g++ -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/ppc64le-redhat-linux/4.8.5/lto-wrapper Target: ppc64le-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-ppc64le-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-ppc64le-redhat-linux/cloog-install --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --enable-targets=powerpcle-linux --disable-multilib --with-cpu-64=power8 --with-tune-64=power8 --build=ppc64le-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) configure:4566: $? = 0 configure:4555: /usr/bin/g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:4566: $? = 4 configure:4555: /usr/bin/g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:4566: $? = 4 configure:4570: checking whether we are using the GNU C++ compiler configure:4589: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 configure:4589: $? = 0 configure:4598: result: yes configure:4607: checking whether /usr/bin/g++ accepts -g configure:4627: /usr/bin/g++ -c -g -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 configure:4627: $? = 0 configure:4668: result: yes configure:4693: checking dependency style of /usr/bin/g++ configure:4804: result: none configure:4827: checking whether /usr/bin/g++ supports C++14 features by default configure:4883: /usr/bin/g++ -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 conftest.cpp:15:19: error: expected identifier before 'sizeof' static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:15:19: error: expected ',' or '...' before 'sizeof' conftest.cpp:15:61: error: ISO C++ forbids declaration of 'static_assert' with no type [-fpermissive] static_assert(sizeof(int) <= sizeof(T), "not big enough"); ^ conftest.cpp:18:27: error: '>>' should be '> >' within a nested template argument list typedef check> right_angle_brackets; ^ conftest.cpp:21:11: error: expected constructor, destructor, or type conversion before '(' token decltype(a) b; ^ conftest.cpp:25:13: error: expected unqualified-id before '&&' token check_type&& cr = static_cast(c); ^ conftest.cpp:49:30: error: ISO C++ forbids declaration of 'deduceReturnType' with no type [-fpermissive] auto deduceReturnType(int i) { return i; } ^ conftest.cpp:49:30: error: top-level declaration of 'deduceReturnType' specifies 'auto' conftest.cpp:49:30: error: storage class 'auto' invalid for function 'deduceReturnType' conftest.cpp:51:8: error: 'genericLambda' does not name a type auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:52:8: error: 'captureExpressions' does not name a type auto captureExpressions = [x = 123]() { return x; }; ^ conftest.cpp: In function 'int foo()': conftest.cpp:56:30: error: 'genericLambda' was not declared in this scope return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:56:53: error: 'captureExpressions' was not declared in this scope return genericLambda(1, 2) + captureExpressions(); ^ configure:4883: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:4890: result: no configure:4899: checking whether /usr/bin/g++ supports C++14 features with -std=gnu++14 configure:4957: /usr/bin/g++ -std=gnu++14 -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 g++: error: unrecognized command line option '-std=gnu++14' configure:4957: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:4966: result: no configure:4899: checking whether /usr/bin/g++ supports C++14 features with -std=gnu++1y configure:4957: /usr/bin/g++ -std=gnu++1y -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 conftest.cpp:51:32: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:40: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In lambda function: conftest.cpp:51:52: error: 'x' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:56: error: 'y' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In function 'int foo()': conftest.cpp:56:30: error: no match for call to '(__lambda0) (int, int)' return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:51:25: note: candidates are: auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:56:30: note: void (*)() return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:56:30: note: candidate expects 1 argument, 3 provided conftest.cpp:51:41: note: __lambda0 auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:41: note: candidate expects 0 arguments, 2 provided configure:4957: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:4966: result: no configure:4979: checking whether /usr/bin/g++ supports C++14 features with -std=c++14 configure:5037: /usr/bin/g++ -std=c++14 -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 g++: error: unrecognized command line option '-std=c++14' configure:5037: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:5046: result: no configure:4979: checking whether /usr/bin/g++ supports C++14 features with -std=c++1y configure:5037: /usr/bin/g++ -std=c++1y -c -O2 -I/home/peko/autobuild/instance-0/output/host/include -I/home/peko/autobuild/instance-0/output/host/include conftest.cpp >&5 conftest.cpp:51:32: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:40: error: parameter declared 'auto' auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In lambda function: conftest.cpp:51:52: error: 'x' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:56: error: 'y' was not declared in this scope auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp: In function 'int foo()': conftest.cpp:56:30: error: no match for call to '(__lambda0) (int, int)' return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:51:25: note: candidates are: auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:56:30: note: void (*)() return genericLambda(1, 2) + captureExpressions(); ^ conftest.cpp:56:30: note: candidate expects 1 argument, 3 provided conftest.cpp:51:41: note: __lambda0 auto genericLambda = [](auto x, auto y) { return x + y; }; ^ conftest.cpp:51:41: note: candidate expects 0 arguments, 2 provided configure:5037: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Capn Proto" | #define PACKAGE_TARNAME "capnproto-c++" | #define PACKAGE_VERSION "0.7.0" | #define PACKAGE_STRING "Capn Proto 0.7.0" | #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" | #define PACKAGE_URL "" | #define PACKAGE "capnproto-c++" | #define VERSION "0.7.0" | /* end confdefs.h. */ | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | typedef check> right_angle_brackets; | | int a; | decltype(a) b; | | typedef check check_type; | check_type c; | check_type&& cr = static_cast(c); | | // GCC 4.7 introduced __float128 and makes reference to it in type_traits. | // Clang doesn't implement it, so produces an error. Using -std=c++11 | // instead of -std=gnu++11 works around the problem. But on some | // platforms we need -std=gnu++11. So we want to make sure the test of | // -std=gnu++11 fails only where this problem is present, and we hope that | // -std=c++11 is always an acceptable fallback in these cases. Complicating | // matters, though, is that we don't want to fail here if the platform is | // completely missing a C++11 standard library, because we want to probe that | // in a later test. It happens, though, that Clang allows us to check | // whether a header exists at all before we include it. | // | // So, if we detect that __has_include is available (which it is on Clang), | // and we use it to detect that (a C++11 header) exists, then | // we go ahead and #include it to see if it breaks. In all other cases, we | // don't #include it at all. | #ifdef __has_include | #if __has_include() | #include | #endif | #endif | | // C++14 stuff | auto deduceReturnType(int i) { return i; } | | auto genericLambda = [](auto x, auto y) { return x + y; }; | auto captureExpressions = [x = 123]() { return x; }; | | // Avoid unused variable warnings. | int foo() { | return genericLambda(1, 2) + captureExpressions(); | } | configure:5046: result: no configure:5057: error: *** A compiler with support for C++14 language features is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/usr/bin/gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -I/home/peko/autobuild/instance-0/output/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/peko/autobuild/instance-0/output/host/include ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/usr/bin/cpp ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -I/home/peko/autobuild/instance-0/output/host/include' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/home/peko/autobuild/instance-0/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output/host/lib' 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_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_objext=o ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=/usr/bin/gcc 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 am_cv_prog_tar_ustar=gnutar ax_cv_cxx_compile_cxx14=no ax_cv_cxx_compile_cxx14__std_cpp14=no ax_cv_cxx_compile_cxx14__std_cpp1y=no ax_cv_cxx_compile_cxx14__std_gnupp14=no ax_cv_cxx_compile_cxx14__std_gnupp1y=no ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/peko/autobuild/instance-0/output/build/host-capnproto-0.7.0/c++/build-aux/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/usr/bin/ar' ASYNC_LIBS='' AUTOCONF='${SHELL} /home/peko/autobuild/instance-0/output/build/host-capnproto-0.7.0/c++/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/peko/autobuild/instance-0/output/build/host-capnproto-0.7.0/c++/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/peko/autobuild/instance-0/output/build/host-capnproto-0.7.0/c++/build-aux/missing automake-1.15' AWK='gawk' BUILD_KJ_TLS_FALSE='' BUILD_KJ_TLS_TRUE='' CAPNP='' CAPNPC_CXX='' CAPNP_CMAKE_CONFIG_FILES='' CAPNP_LITE_FLAG='' CAPNP_PKG_CONFIG_FILES='' CC='/usr/bin/gcc' CCDEPMODE='depmode=none' CFLAGS='-O2 -I/home/peko/autobuild/instance-0/output/host/include' CMAKE_SIZEOF_VOID_P='' CPP='/usr/bin/cpp' CPPFLAGS='-I/home/peko/autobuild/instance-0/output/host/include' CXX='/usr/bin/g++' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS='-O2 -I/home/peko/autobuild/instance-0/output/host/include' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FGREP='' GREP='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='-L/home/peko/autobuild/instance-0/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output/host/lib' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LITE_MODE_FALSE='' LITE_MODE_TRUE='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/peko/autobuild/instance-0/output/build/host-capnproto-0.7.0/c++/build-aux/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm' NMEDIT='' OBJDUMP='' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='capnproto-c++' PACKAGE_BUGREPORT='capnproto@googlegroups.com' PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR='' PACKAGE_INIT='' PACKAGE_NAME='Capn Proto' PACKAGE_STRING='Capn Proto 0.7.0' PACKAGE_TARNAME='capnproto-c++' PACKAGE_URL='' PACKAGE_VERSION='0.7.0' PATH_SEPARATOR=':' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' RANLIB='/usr/bin/ranlib' SED='' SET_MAKE='' SHELL='/bin/sh' STDLIB_FLAG='' STRIP='' USE_EXTERNAL_CAPNP_FALSE='' USE_EXTERNAL_CAPNP_TRUE='' VERSION='0.7.0' ac_ct_AR='' ac_ct_CC='/usr/bin/gcc' ac_ct_CXX='' ac_ct_DUMPBIN='' acx_pthread_config='' 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 --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/peko/autobuild/instance-0/output/build/host-capnproto-0.7.0/c++/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/home/peko/autobuild/instance-0/output/host/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/peko/autobuild/instance-0/output/host' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/home/peko/autobuild/instance-0/output/host/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Capn Proto" #define PACKAGE_TARNAME "capnproto-c++" #define PACKAGE_VERSION "0.7.0" #define PACKAGE_STRING "Capn Proto 0.7.0" #define PACKAGE_BUGREPORT "capnproto@googlegroups.com" #define PACKAGE_URL "" #define PACKAGE "capnproto-c++" #define VERSION "0.7.0" configure: exit 1