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/buildroot/autobuild/run/instance-1/output/host --sysconfdir=/home/buildroot/autobuild/run/instance-1/output/host/etc --localstatedir=/home/buildroot/autobuild/run/instance-1/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 = ns304657.ip-46-105-103.eu uname -m = x86_64 uname -r = 4.4.0-148-generic uname -s = Linux uname -v = #174-Ubuntu SMP Tue May 7 12:20:14 UTC 2019 /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/autobuild/run/instance-1/output/host/bin PATH: /home/buildroot/autobuild/run/instance-1/output/host/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/local/games PATH: /usr/games ## ----------- ## ## 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: /bin/mkdir -p configure:3002: checking for gawk configure:3032: result: no configure:3002: checking for mawk configure:3018: found /usr/bin/mawk configure:3029: result: mawk 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 '1000' is supported by ustar format configure:3200: result: yes configure:3207: checking whether GID '1000' 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.27.1 Copyright (C) 2013 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 (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 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/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/output/host/include -L/home/buildroot/autobuild/run/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/output/host/include -L/home/buildroot/autobuild/run/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/output/host/include -L/home/buildroot/autobuild/run/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 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/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/include' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/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=/bin/mkdir ac_cv_prog_AWK=mawk 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/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/build/host-capnproto-0.7.0/c++/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/buildroot/autobuild/run/instance-1/output/build/host-capnproto-0.7.0/c++/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/buildroot/autobuild/run/instance-1/output/build/host-capnproto-0.7.0/c++/build-aux/missing automake-1.15' AWK='mawk' 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/buildroot/autobuild/run/instance-1/output/host/include' CMAKE_SIZEOF_VOID_P='' CPP='/usr/bin/cpp' CPPFLAGS='-I/home/buildroot/autobuild/run/instance-1/output/host/include' CXX='/usr/bin/g++' CXXCPP='' CXXDEPMODE='depmode=none' CXXFLAGS='-O2 -I/home/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/output/host/lib' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LITE_MODE_FALSE='' LITE_MODE_TRUE='' LN_S='' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/buildroot/autobuild/run/instance-1/output/build/host-capnproto-0.7.0/c++/build-aux/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/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/buildroot/autobuild/run/instance-1/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/buildroot/autobuild/run/instance-1/output/host/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/buildroot/autobuild/run/instance-1/output/host' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/home/buildroot/autobuild/run/instance-1/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