This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by graph-tool configure 2.35, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/graph-tool-2.35 --htmldir=/usr/share/doc/graph-tool-2.35/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-openmp --enable-cairo --with-boost-python=boost_python36 ## --------- ## ## Platform. ## ## --------- ## hostname = localhost uname -m = x86_64 uname -r = 5.4.0-1025-aws uname -s = Linux uname -v = #25-Ubuntu SMP Fri Sep 11 09:37:24 UTC 2020 /usr/bin/uname -p = Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz /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: /var/tmp/portage/dev-python/graph-tool-2.35/temp/python3.6/bin PATH: /usr/lib/portage/python3.8/ebuild-helpers/xattr PATH: /usr/lib/portage/python3.8/ebuild-helpers PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /opt/bin PATH: /usr/lib/llvm/11/bin PATH: /usr/lib/llvm/10/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2710: checking build system type configure:2724: result: x86_64-pc-linux-gnu configure:2744: checking host system type configure:2757: result: x86_64-pc-linux-gnu configure:2777: checking target system type configure:2790: result: x86_64-pc-linux-gnu configure:2832: checking for a BSD-compatible install configure:2900: result: /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c configure:2911: checking whether build environment is sane configure:2966: result: yes configure:3115: checking for a thread-safe mkdir -p configure:3154: result: /bin/mkdir -p configure:3161: checking for gawk configure:3177: found /usr/bin/gawk configure:3188: result: gawk configure:3199: checking whether make sets $(MAKE) configure:3221: result: yes configure:3250: checking whether make supports nested variables configure:3267: result: yes configure:3346: checking how to create a pax tar archive configure:3357: tar --version tar (GNU tar) 1.32 Copyright (C) 2019 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:3360: $? = 0 configure:3400: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar configure:3403: $? = 0 configure:3407: tar -xf - &5 x86_64-pc-linux-gnu-gcc (Gentoo 10.2.0-r2 p3) 10.2.0 Copyright (C) 2020 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:3904: $? = 0 configure:3893: x86_64-pc-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r2/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r2 p3' --disable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-vtable-verify --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Gentoo 10.2.0-r2 p3) configure:3904: $? = 0 configure:3893: x86_64-pc-linux-gnu-gcc -V >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3904: $? = 1 configure:3893: x86_64-pc-linux-gnu-gcc -qversion >&5 x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3904: $? = 1 configure:3924: checking whether the C compiler works configure:3946: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.c >&5 configure:3950: $? = 0 configure:3998: result: yes configure:4001: checking for C compiler default output file name configure:4003: result: a.out configure:4009: checking for suffix of executables configure:4016: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.c >&5 configure:4020: $? = 0 configure:4042: result: configure:4064: checking whether we are cross compiling configure:4072: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.c >&5 configure:4076: $? = 0 configure:4083: ./conftest configure:4087: $? = 0 configure:4075: result: no configure:4080: checking for suffix of object files configure:4102: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4106: $? = 0 configure:4127: result: o configure:4131: checking whether we are using the GNU C compiler configure:4150: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4150: $? = 0 configure:4159: result: yes configure:4168: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:4188: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:4188: $? = 0 configure:4229: result: yes configure:4246: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:4309: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4309: $? = 0 configure:4322: result: none needed configure:4347: checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together configure:4369: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:4372: $? = 0 configure:4369: x86_64-pc-linux-gnu-gcc -c conftest.c -o conftest2.o configure:4372: $? = 0 configure:4384: result: yes configure:4403: checking dependency style of x86_64-pc-linux-gnu-gcc configure:4514: result: none configure:4534: checking for library containing strerror configure:4565: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.c >&5 configure:4565: $? = 0 configure:4582: result: none required configure:4597: checking how to run the C preprocessor configure:4628: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4628: $? = 0 configure:4642: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4642: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | /* end confdefs.h. */ | #include configure:4667: result: x86_64-pc-linux-gnu-gcc -E configure:4687: x86_64-pc-linux-gnu-gcc -E conftest.c configure:4687: $? = 0 configure:4701: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4701: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | /* end confdefs.h. */ | #include configure:4730: checking for grep that handles long lines and -e configure:4788: result: /bin/grep configure:4793: checking for egrep configure:4855: result: /bin/grep -E configure:4860: checking for ANSI C header files configure:4880: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4880: $? = 0 configure:4953: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.c >&5 configure:4953: $? = 0 configure:4953: ./conftest configure:4953: $? = 0 configure:4964: result: yes configure:4977: checking for sys/types.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for sys/stat.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for stdlib.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for string.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for memory.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for strings.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for inttypes.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for stdint.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4977: checking for unistd.h configure:4977: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:4977: $? = 0 configure:4977: result: yes configure:4990: checking minix/config.h usability configure:4990: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 conftest.c:54:10: fatal error: minix/config.h: No such file or directory 54 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4990: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4990: result: no configure:4990: checking minix/config.h presence configure:4990: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:21:10: fatal error: minix/config.h: No such file or directory 21 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4990: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:4990: result: no configure:4990: checking for minix/config.h configure:4990: result: no configure:5011: checking whether it is safe to define __EXTENSIONS__ configure:5029: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:5029: $? = 0 configure:5036: result: yes configure:5064: checking for x86_64-pc-linux-gnu-g++ configure:5080: found /usr/bin/x86_64-pc-linux-gnu-g++ configure:5091: result: x86_64-pc-linux-gnu-g++ configure:5162: checking for C++ compiler version configure:5171: x86_64-pc-linux-gnu-g++ --version >&5 x86_64-pc-linux-gnu-g++ (Gentoo 10.2.0-r2 p3) 10.2.0 Copyright (C) 2020 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:5182: $? = 0 configure:5171: x86_64-pc-linux-gnu-g++ -v >&5 Using built-in specs. COLLECT_GCC=x86_64-pc-linux-gnu-g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r2/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r2 p3' --disable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-vtable-verify --without-zstd --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Gentoo 10.2.0-r2 p3) configure:5182: $? = 0 configure:5171: x86_64-pc-linux-gnu-g++ -V >&5 x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-V' x86_64-pc-linux-gnu-g++: fatal error: no input files compilation terminated. configure:5182: $? = 1 configure:5171: x86_64-pc-linux-gnu-g++ -qversion >&5 x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-qversion'; did you mean '--version'? x86_64-pc-linux-gnu-g++: fatal error: no input files compilation terminated. configure:5182: $? = 1 configure:5186: checking whether we are using the GNU C++ compiler configure:5205: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:5205: $? = 0 configure:5214: result: yes configure:5223: checking whether x86_64-pc-linux-gnu-g++ accepts -g configure:5243: x86_64-pc-linux-gnu-g++ -c -g conftest.cpp >&5 configure:5243: $? = 0 configure:5284: result: yes configure:5309: checking dependency style of x86_64-pc-linux-gnu-g++ configure:5420: result: none configure:5445: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99 configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5594: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 76 | test_restrict (ccp restrict text) | ^~~~ conftest.cpp: In function 'int test_restrict(ccp)': conftest.cpp:81:30: error: 'text' was not declared in this scope; did you mean 'atexit'? 81 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | ^~~~ | atexit conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' 130 | char *restrict newvar = "Another string"; | ^~~~~~ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] 138 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* conftest.cpp:156:59: error: 'newvar' was not declared in this scope 156 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | ^~~~~~ configure:5594: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5610: result: unsupported configure:5620: checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89 configure:5696: result: none needed configure:5715: checking for x86_64-pc-linux-gnu-gcc option to accept ISO Standard C configure:5726: result: none needed configure:5739: checking how to run the C++ preprocessor configure:5766: x86_64-pc-linux-gnu-g++ -E conftest.cpp configure:5766: $? = 0 configure:5780: x86_64-pc-linux-gnu-g++ -E conftest.cpp conftest.cpp:26:10: fatal error: ac_nonexistent.h: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5780: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include configure:5805: result: x86_64-pc-linux-gnu-g++ -E configure:5825: x86_64-pc-linux-gnu-g++ -E conftest.cpp configure:5825: $? = 0 configure:5839: x86_64-pc-linux-gnu-g++ -E conftest.cpp conftest.cpp:26:10: fatal error: ac_nonexistent.h: No such file or directory 26 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5839: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include configure:5868: checking for ANSI C header files configure:5972: result: yes configure:6058: checking how to print strings configure:6085: result: printf configure:6106: checking for a sed that does not truncate output configure:6170: result: /bin/sed configure:6188: checking for fgrep configure:6250: result: /bin/grep -F configure:6285: checking for ld used by x86_64-pc-linux-gnu-gcc configure:6352: result: x86_64-pc-linux-gnu-ld.gold configure:6359: checking if the linker (x86_64-pc-linux-gnu-ld.gold) is GNU ld configure:6374: result: yes configure:6386: checking for BSD- or MS-compatible name lister (nm) configure:6440: result: /usr/bin/x86_64-pc-linux-gnu-nm -B configure:6570: checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface configure:6577: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:6580: /usr/bin/x86_64-pc-linux-gnu-nm -B "conftest.o" configure:6583: output 0000000000000000 B some_variable configure:6584: result: BSD nm configure:6587: checking whether ln -s works configure:6591: result: yes configure:6599: checking the maximum length of command line arguments configure:6730: result: 1572864 configure:6778: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format configure:6818: result: func_convert_file_noop configure:6825: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:6845: result: func_convert_file_noop configure:6852: checking for x86_64-pc-linux-gnu-ld.gold option to reload object files configure:6859: result: -r configure:6893: checking for x86_64-pc-linux-gnu-objdump configure:6909: found /usr/bin/x86_64-pc-linux-gnu-objdump configure:6920: result: x86_64-pc-linux-gnu-objdump configure:6992: checking how to recognize dependent libraries configure:7192: result: pass_all configure:7237: checking for x86_64-pc-linux-gnu-dlltool configure:7267: result: no configure:7277: checking for dlltool configure:7307: result: no configure:7337: checking how to associate runtime and link libraries configure:7364: result: printf %s\n configure:7380: checking for x86_64-pc-linux-gnu-ar configure:7396: found /usr/bin/x86_64-pc-linux-gnu-ar configure:7407: result: x86_64-pc-linux-gnu-ar configure:7504: checking for archiver @FILE support configure:7521: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:7521: $? = 0 configure:7524: x86_64-pc-linux-gnu-ar cr libconftest.a @conftest.lst >&5 configure:7527: $? = 0 configure:7532: x86_64-pc-linux-gnu-ar cr libconftest.a @conftest.lst >&5 x86_64-pc-linux-gnu-ar: conftest.o: No such file or directory configure:7535: $? = 1 configure:7534: result: @ configure:7552: checking for x86_64-pc-linux-gnu-strip configure:7568: found /usr/bin/x86_64-pc-linux-gnu-strip configure:7579: result: x86_64-pc-linux-gnu-strip configure:7651: checking for x86_64-pc-linux-gnu-ranlib configure:7667: found /usr/bin/x86_64-pc-linux-gnu-ranlib configure:7678: result: x86_64-pc-linux-gnu-ranlib configure:7820: checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object configure:7973: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:7976: $? = 0 configure:7980: /usr/bin/x86_64-pc-linux-gnu-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:7983: $? = 0 configure:8049: x86_64-pc-linux-gnu-g++ -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.cpp conftstm.o >&5 configure:8052: $? = 0 configure:8090: result: ok configure:8137: checking for sysroot configure:8167: result: / configure:8174: checking for a working dd configure:8212: result: /bin/dd configure:8216: checking how to truncate binary pipes configure:8231: result: /bin/dd bs=4096 count=1 configure:8367: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:8370: $? = 0 configure:8520: checking for x86_64-pc-linux-gnu-mt configure:8550: result: no configure:8560: checking for mt configure:8590: result: no configure:8610: checking if : is a manifest tool configure:8616: : '-?' configure:8624: result: no configure:9298: checking for dlfcn.h configure:9298: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:9298: $? = 0 configure:9298: result: yes configure:9534: checking for objdir configure:9549: result: .libs configure:9809: checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions configure:9827: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C configure:9831: $? = 0 configure:9844: result: no configure:10202: checking for x86_64-pc-linux-gnu-gcc option to produce PIC configure:10209: result: -fPIC -DPIC configure:10217: checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works configure:10235: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -DPIC -DPIC conftest.c >&5 configure:10239: $? = 0 configure:10252: result: yes configure:10281: checking if x86_64-pc-linux-gnu-gcc static flag -static works configure:10309: result: yes configure:10324: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o configure:10345: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -o out/conftest2.o conftest.c >&5 configure:10349: $? = 0 configure:10371: result: yes configure:10379: checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o configure:10426: result: yes configure:10459: checking whether the x86_64-pc-linux-gnu-gcc linker (x86_64-pc-linux-gnu-ld.gold -m elf_x86_64) supports shared libraries configure:11720: result: yes configure:11757: checking whether -lc should be explicitly linked in configure:11765: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 configure:11768: $? = 0 configure:11783: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11786: $? = 0 configure:11800: result: no configure:11960: checking dynamic linker characteristics configure:12541: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12541: $? = 0 configure:12778: result: GNU/Linux ld.so configure:12900: checking how to hardcode library paths into programs configure:12925: result: immediate configure:13473: checking whether stripping libraries is possible configure:13482: result: yes configure:13524: checking if libtool supports shared libraries configure:13526: result: yes configure:13529: checking whether to build shared libraries configure:13554: result: yes configure:13557: checking whether to build static libraries configure:13561: result: no configure:10363: checking how to run the C++ preprocessor configure:10429: result: x86_64-pc-linux-gnu-g++ -E configure:10449: x86_64-pc-linux-gnu-g++ -E conftest.cpp configure:10449: $? = 0 configure:10463: x86_64-pc-linux-gnu-g++ -E conftest.cpp conftest.cpp:29:10: fatal error: ac_nonexistent.h: No such file or directory 29 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:10463: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:10625: checking for ld used by x86_64-pc-linux-gnu-g++ configure:10692: result: x86_64-pc-linux-gnu-ld.gold -m elf_x86_64 configure:10699: checking if the linker (x86_64-pc-linux-gnu-ld.gold -m elf_x86_64) is GNU ld configure:10714: result: yes configure:10769: checking whether the x86_64-pc-linux-gnu-g++ linker (x86_64-pc-linux-gnu-ld.gold -m elf_x86_64) supports shared libraries configure:11843: result: yes configure:11879: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:11882: $? = 0 configure:12363: checking for x86_64-pc-linux-gnu-g++ option to produce PIC configure:12370: result: -fPIC -DPIC configure:12378: checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works configure:12396: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -DPIC -DPIC conftest.cpp >&5 configure:12400: $? = 0 configure:12413: result: yes configure:12436: checking if x86_64-pc-linux-gnu-g++ static flag -static works configure:12464: result: yes configure:12476: checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o configure:12497: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -o out/conftest2.o conftest.cpp >&5 configure:12501: $? = 0 configure:12523: result: yes configure:12528: checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o configure:12575: result: yes configure:12605: checking whether the x86_64-pc-linux-gnu-g++ linker (x86_64-pc-linux-gnu-ld.gold -m elf_x86_64) supports shared libraries configure:12645: result: yes configure:12786: checking dynamic linker characteristics configure:13531: result: GNU/Linux ld.so configure:13596: checking how to hardcode library paths into programs configure:13621: result: immediate configure:12541: checking for x86_64-pc-linux-gnu-pkg-config configure:12559: found /usr/bin/x86_64-pc-linux-gnu-pkg-config configure:12571: result: /usr/bin/x86_64-pc-linux-gnu-pkg-config configure:12639: checking pkg-config is at least version 0.9.0 configure:12642: result: yes configure:12673: checking whether x86_64-pc-linux-gnu-g++ supports C++17 features by default configure:13489: x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 conftest.cpp:445:2: error: #error "This is not a C++17 compiler" 445 | #error "This is not a C++17 compiler" | ^~~~~ configure:13489: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* 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 | | | | | // If the compiler admits that it is not ready for C++14, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus < 201402L | | #error "This is not a C++14 compiler" | | #else | | namespace cxx14 | { | | namespace test_polymorphic_lambdas | { | | int | test() | { | const auto lambda = [](auto&&... args){ | const auto istiny = [](auto x){ | return (sizeof(x) == 1UL) ? 1 : 0; | }; | const int aretiny[] = { istiny(args)... }; | return aretiny[0]; | }; | return lambda(1, 1L, 1.0f, '1'); | } | | } | | namespace test_binary_literals | { | | constexpr auto ivii = 0b0000000000101010; | static_assert(ivii == 42, "wrong value"); | | } | | namespace test_generalized_constexpr | { | | template < typename CharT > | constexpr unsigned long | strlen_c(const CharT *const s) noexcept | { | auto length = 0UL; | for (auto p = s; *p; ++p) | ++length; | return length; | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("x") == 1UL, ""); | static_assert(strlen_c("test") == 4UL, ""); | static_assert(strlen_c("another\0test") == 7UL, ""); | | } | | namespace test_lambda_init_capture | { | | int | test() | { | auto x = 0; | const auto lambda1 = [a = x](int b){ return a + b; }; | const auto lambda2 = [a = lambda1(x)](){ return a; }; | return lambda2(); | } | | } | | namespace test_digit_separators | { | | constexpr auto ten_million = 100'000'000; | static_assert(ten_million == 100000000, ""); | | } | | namespace test_return_type_deduction | { | | auto f(int& x) { return x; } | decltype(auto) g(int& x) { return x; } | | template < typename T1, typename T2 > | struct is_same | { | static constexpr auto value = false; | }; | | template < typename T > | struct is_same | { | static constexpr auto value = true; | }; | | int | test() | { | auto x = 0; | static_assert(is_same::value, ""); | static_assert(is_same::value, ""); | return x; | } | | } | | } // namespace cxx14 | | #endif // __cplusplus >= 201402L | | | | | // If the compiler admits that it is not ready for C++17, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | #elif __cplusplus <= 201402L | | #error "This is not a C++17 compiler" | | #else | | #if defined(__clang__) | #define REALLY_CLANG | #else | #if defined(__GNUC__) | #define REALLY_GCC | #endif | #endif | | #include | #include | #include | | namespace cxx17 | { | | #if !defined(REALLY_CLANG) | namespace test_constexpr_lambdas | { | | // TODO: test it with clang++ from git | | constexpr int foo = [](){return 42;}(); | | } | #endif // !defined(REALLY_CLANG) | | namespace test::nested_namespace::definitions | { | | } | | namespace test_fold_expression | { | | template | int multiply(Args... args) | { | return (args * ... * 1); | } | | template | bool all(Args... args) | { | return (args && ...); | } | | } | | namespace test_extended_static_assert | { | | static_assert (true); | | } | | namespace test_auto_brace_init_list | { | | auto foo = {5}; | auto bar {5}; | | static_assert(std::is_same, decltype(foo)>::value); | static_assert(std::is_same::value); | } | | namespace test_typename_in_template_template_parameter | { | | template typename X> struct D; | | } | | namespace test_fallthrough_nodiscard_maybe_unused_attributes | { | | int f1() | { | return 42; | } | | [[nodiscard]] int f2() | { | [[maybe_unused]] auto unused = f1(); | | switch (f1()) | { | case 17: | f1(); | [[fallthrough]]; | case 42: | f1(); | } | return f1(); | } | | } | | namespace test_extended_aggregate_initialization | { | | struct base1 | { | int b1, b2 = 42; | }; | | struct base2 | { | base2() { | b3 = 42; | } | int b3; | }; | | struct derived : base1, base2 | { | int d; | }; | | derived d1 {{1, 2}, {}, 4}; // full initialization | derived d2 {{}, {}, 4}; // value-initialized bases | | } | | namespace test_general_range_based_for_loop | { | | struct iter | { | int i; | | int& operator* () | { | return i; | } | | const int& operator* () const | { | return i; | } | | iter& operator++() | { | ++i; | return *this; | } | }; | | struct sentinel | { | int i; | }; | | bool operator== (const iter& i, const sentinel& s) | { | return i.i == s.i; | } | | bool operator!= (const iter& i, const sentinel& s) | { | return !(i == s); | } | | struct range | { | iter begin() const | { | return {0}; | } | | sentinel end() const | { | return {5}; | } | }; | | void f() | { | range r {}; | | for (auto i : r) | { | [[maybe_unused]] auto v = i; | } | } | | } | | namespace test_lambda_capture_asterisk_this_by_value | { | | struct t | { | int i; | int foo() | { | return [*this]() | { | return i; | }(); | } | }; | | } | | namespace test_enum_class_construction | { | | enum class byte : unsigned char | {}; | | byte foo {42}; | | } | | namespace test_constexpr_if | { | | template | int f () | { | if constexpr(cond) | { | return 13; | } | else | { | return 42; | } | } | | } | | namespace test_selection_statement_with_initializer | { | | int f() | { | return 13; | } | | int f2() | { | if (auto i = f(); i > 0) | { | return 3; | } | | switch (auto i = f(); i + 4) | { | case 17: | return 2; | | default: | return 1; | } | } | | } | | #if !defined(REALLY_CLANG) | namespace test_template_argument_deduction_for_class_templates | { | | // TODO: test it with clang++ from git | | template | struct pair | { | pair (T1 p1, T2 p2) | : m1 {p1}, | m2 {p2} | {} | | T1 m1; | T2 m2; | }; | | void f() | { | [[maybe_unused]] auto p = pair{13, 42u}; | } | | } | #endif // !defined(REALLY_CLANG) | | namespace test_non_type_auto_template_parameters | { | | template | struct B | {}; | | B<5> b1; | B<'a'> b2; | | } | | #if !defined(REALLY_CLANG) | namespace test_structured_bindings | { | | // TODO: test it with clang++ from git | | int arr[2] = { 1, 2 }; | std::pair pr = { 1, 2 }; | | auto f1() -> int(&)[2] | { | return arr; | } | | auto f2() -> std::pair& | { | return pr; | } | | struct S | { | int x1 : 2; | volatile double y1; | }; | | S f3() | { | return {}; | } | | auto [ x1, y1 ] = f1(); | auto& [ xr1, yr1 ] = f1(); | auto [ x2, y2 ] = f2(); | auto& [ xr2, yr2 ] = f2(); | const auto [ x3, y3 ] = f3(); | | } | #endif // !defined(REALLY_CLANG) | | #if !defined(REALLY_CLANG) | namespace test_exception_spec_type_system | { | | // TODO: test it with clang++ from git | | struct Good {}; | struct Bad {}; | | void g1() noexcept; | void g2(); | | template | Bad | f(T*, T*); | | template | Good | f(T1*, T2*); | | static_assert (std::is_same_v); | | } | #endif // !defined(REALLY_CLANG) | | namespace test_inline_variables | { | | template void f(T) | {} | | template inline T g(T) | { | return T{}; | } | | template<> inline void f<>(int) | {} | | template<> int g<>(int) | { | return 5; | } | | } | | } // namespace cxx17 | | #endif // __cplusplus <= 201402L | | | configure:13496: result: no configure:13506: checking whether x86_64-pc-linux-gnu-g++ supports C++17 features with -std=gnu++17 configure:14324: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 configure:14324: $? = 0 configure:14333: result: yes configure:14369: WARNING: C++17 is not yet standardized, so the checks may change in incompatible ways anytime configure:14376: checking whether to enable debug info configure:14395: result: no configure:14412: checking whether to enable parallel algorithms with openmp configure:14417: result: yes configure:14422: checking for OpenMP flag of C++ compiler configure:14467: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -fopenmp -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.cpp >&5 configure:14467: $? = 0 configure:14476: result: -fopenmp configure:14578: checking whether to enable cairo drawing configure:14587: result: yes configure:14603: checking for EXPAT configure:14610: $PKG_CONFIG --exists --print-errors "expat" configure:14613: $? = 0 configure:14627: $PKG_CONFIG --exists --print-errors "expat" configure:14630: $? = 0 configure:14688: result: yes configure:14701: checking whether /usr/bin/python3.6 version is >= 2.7 configure:14712: /usr/bin/python3.6 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) configure:14715: $? = 0 configure:14717: result: yes configure:14810: checking for /usr/bin/python3.6 version configure:14817: result: 3.6 configure:14829: checking for /usr/bin/python3.6 platform configure:14836: result: linux configure:14862: checking for /usr/bin/python3.6 script directory configure:14897: result: ${prefix}/lib64/python3.6/site-packages configure:14906: checking for /usr/bin/python3.6 extension module directory configure:14941: result: ${exec_prefix}/lib64/python3.6/site-packages configure:14965: checking for python3.6 configure:14995: result: /usr/bin/python3.6 configure:15011: checking for a version of Python >= '2.1.0' configure:15037: result: yes configure:15045: checking for a version of Python == '3.6.12' configure:15051: result: yes configure:15068: checking for the distutils Python package configure:15072: result: yes configure:15086: checking for Python include path configure:15102: result: -I/usr/include/python3.6m configure:15109: checking for Python library path configure:15186: result: -L/usr/lib64 -lpython3.6m configure:15193: checking for Python site-packages path configure:15199: result: /usr/lib64/python3.6/site-packages configure:15206: checking python extra libraries configure:15213: result: -lpthread -ldl -lutil -lm configure:15220: checking python extra linking flags configure:15227: result: -Xlinker -export-dynamic configure:15234: checking consistency of all components of python development environment configure:15262: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -DNDEBUG -I/usr/include/python3.6m -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -Xlinker -export-dynamic conftest.c -L/usr/lib64 -lpython3.6m -lpthread -ldl -lutil -lm -lpthread -ldl -lutil -lm >&5 configure:15262: $? = 0 configure:15280: result: yes configure:15456: checking for boostlib >= 1.55.0 (105500) configure:15488: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 configure:15488: $? = 0 configure:15490: result: yes configure:15681: checking whether the Boost::Python library is available configure:15699: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -I/usr/include -I/usr/include/python3.6m -DNDEBUG conftest.cpp >&5 configure:15699: $? = 0 configure:15707: result: yes configure:15727: checking whether boost_python36 is the correct library configure:15746: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -I/usr/include -I/usr/include/python3.6m -DNDEBUG -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.cpp -lboost_python36 -L/usr/lib64 -lpython3.6m >&5 configure:15746: $? = 0 configure:15755: result: yes configure:15807: checking whether the Boost::IOStreams library is available configure:15835: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 configure:15835: $? = 0 configure:15849: result: yes configure:15860: checking for exit in -lboost_iostreams-mt configure:15885: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lboost_iostreams-mt >&5 conftest.cpp:43:6: warning: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Wbuiltin-declaration-mismatch] 43 | char exit (); | ^~~~ configure:15885: $? = 0 configure:15895: result: yes configure:16043: checking whether the Boost::Regex library is available configure:16066: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 configure:16066: $? = 0 configure:16080: result: yes configure:16091: checking for exit in -lboost_regex-mt configure:16116: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lboost_regex-mt >&5 conftest.cpp:44:6: warning: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Wbuiltin-declaration-mismatch] 44 | char exit (); | ^~~~ configure:16116: $? = 0 configure:16126: result: yes configure:16275: checking whether the Boost::Context library is available configure:16299: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 configure:16299: $? = 0 configure:16314: result: yes configure:16329: checking for exit in -lboost_context-mt configure:16354: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lboost_context-mt >&5 conftest.cpp:45:6: warning: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Wbuiltin-declaration-mismatch] 45 | char exit (); | ^~~~ configure:16354: $? = 0 configure:16364: result: yes configure:16523: checking whether the Boost::Coroutine library is available configure:16548: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 In file included from /usr/include/boost/config/header_deprecated.hpp:18, from /usr/include/boost/range/result_iterator.hpp:18, from /usr/include/boost/range/metafunctions.hpp:20, from /usr/include/boost/range.hpp:19, from conftest.cpp:38: /usr/include/boost/range/result_iterator.hpp:20:1: note: '#pragma message: This header is deprecated. Use instead.' 20 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/range/const_reverse_iterator.hpp:20:1: note: '#pragma message: This header is deprecated. Use instead.' 20 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/range/reverse_result_iterator.hpp:20:1: note: '#pragma message: This header is deprecated. Use instead.' 20 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/detail/scoped_enum_emulation.hpp:17:1: note: '#pragma message: This header is deprecated. Use instead.' 17 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ conftest.cpp: In function 'int main()': conftest.cpp:43:40: warning: unused variable 'f' [-Wunused-variable] 43 | boost::coroutines::coroutine< void() > f; | ^ configure:16548: $? = 0 configure:16563: result: yes configure:16578: checking for exit in -lboost_coroutine-mt configure:16603: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lboost_coroutine-mt >&5 conftest.cpp:46:6: warning: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Wbuiltin-declaration-mismatch] 46 | char exit (); | ^~~~ configure:16603: $? = 0 configure:16613: result: yes configure:16773: checking whether the Boost::Graph library is available configure:16795: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/property_map/vector_property_map.hpp:14, from /usr/include/boost/property_map/property_map.hpp:602, from /usr/include/boost/graph/adjacency_list.hpp:27, from conftest.cpp:40: /usr/include/boost/detail/iterator.hpp:13:1: note: '#pragma message: This header is deprecated. Use instead.' 13 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ configure:16795: $? = 0 configure:16809: result: yes configure:16820: checking for exit in -lboost_graph-mt configure:16845: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lboost_graph-mt >&5 conftest.cpp:48:6: warning: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Wbuiltin-declaration-mismatch] 48 | char exit (); | ^~~~ configure:16845: $? = 0 configure:16855: result: yes configure:17002: checking whether the Boost::Thread library is available configure:17035: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -pthread -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 configure:17035: $? = 0 configure:17050: result: yes configure:17079: checking for exit in -lboost_thread configure:17104: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lboost_thread >&5 conftest.cpp:49:6: warning: declaration of 'char exit()' conflicts with built-in declaration 'void exit(int)' [-Wbuiltin-declaration-mismatch] 49 | char exit (); | ^~~~ configure:17104: $? = 0 configure:17114: result: yes configure:17260: checking for __gmpz_init in -lgmp configure:17285: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold conftest.cpp -lgmp >&5 configure:17285: $? = 0 configure:17294: result: yes configure:17326: checking for __gmpz_init in -lgmp configure:17360: result: yes configure:17390: checking whether CGAL is available in /usr configure:17426: x86_64-pc-linux-gnu-g++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -pthread -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold -L/usr/lib64 conftest.cpp -lgmp -lgmp >&5 In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/CGAL/Object.h:40, from /usr/include/CGAL/kernel_basic.h:33, from /usr/include/CGAL/basic.h:46, from /usr/include/CGAL/Cartesian/Cartesian_base.h:28, from /usr/include/CGAL/Simple_cartesian.h:28, from /usr/include/CGAL/Exact_predicates_inexact_constructions_kernel.h:28, from conftest.cpp:46: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ configure:17426: $? = 0 configure:17426: ./conftest configure:17426: $? = 0 configure:17447: result: yes configure:17478: checking whether to enable debbuging with valgrind configure:17492: result: no configure:17510: checking python3.6 module: numpy configure:17515: result: yes configure:17541: checking for numpy/arrayobject.h configure:17541: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -I/usr/include/python3.6m -I/usr/lib64/python3.6/site-packages/numpy/core/include -DNDEBUG conftest.cpp >&5 configure:17541: $? = 0 configure:17541: result: yes configure:17563: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -I/usr/include/python3.6m -I/usr/lib64/python3.6/site-packages/numpy/core/include -DNDEBUG conftest.cpp >&5 configure:17563: $? = 0 configure:17574: checking for CAIROMM configure:17581: $PKG_CONFIG --exists --print-errors "cairomm-1.0" configure:17584: $? = 0 configure:17598: $PKG_CONFIG --exists --print-errors "cairomm-1.0" configure:17601: $? = 0 configure:17659: result: yes configure:17680: checking python3.6 module: cairo configure:17689: result: no configure:17716: checking py3cairo.h usability configure:17716: x86_64-pc-linux-gnu-g++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I -I/usr/include/python3.6m -DNDEBUG conftest.cpp >&5 conftest.cpp:80:10: fatal error: py3cairo.h: No such file or directory 80 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_CXX17 1 | #define OPENMP_MIN_THRESH 300 | #define HAVE_OPENMP 1 | #define HAVE_PYTHON "3.6" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | #define HAVE_BOOST_REGEX /**/ | #define HAVE_BOOST_CONTEXT /**/ | #define HAVE_BOOST_COROUTINE /**/ | #define BOOST_COROUTINE_STACK_SIZE 5242880 | #define HAVE_BOOST_GRAPH /**/ | #define HAVE_BOOST_THREAD /**/ | #define HAVE_LIBGMP 1 | #define HAVE_LIBGMP 1 | #define HAVE_CGAL 1 | #define HAVE_CAIROMM 1 | #define PYCAIRO_HEADER | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:17716: result: no configure:17716: checking py3cairo.h presence configure:17716: x86_64-pc-linux-gnu-g++ -E -std=gnu++17 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I -I/usr/include/python3.6m -DNDEBUG conftest.cpp conftest.cpp:47:10: fatal error: py3cairo.h: No such file or directory 47 | #include | ^~~~~~~~~~~~ compilation terminated. configure:17716: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.35" | #define PACKAGE_STRING "graph-tool 2.35" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.35" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_CXX17 1 | #define OPENMP_MIN_THRESH 300 | #define HAVE_OPENMP 1 | #define HAVE_PYTHON "3.6" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | #define HAVE_BOOST_REGEX /**/ | #define HAVE_BOOST_CONTEXT /**/ | #define HAVE_BOOST_COROUTINE /**/ | #define BOOST_COROUTINE_STACK_SIZE 5242880 | #define HAVE_BOOST_GRAPH /**/ | #define HAVE_BOOST_THREAD /**/ | #define HAVE_LIBGMP 1 | #define HAVE_LIBGMP 1 | #define HAVE_CGAL 1 | #define HAVE_CAIROMM 1 | #define PYCAIRO_HEADER | /* end confdefs.h. */ | #include configure:17716: result: no configure:17716: checking for py3cairo.h configure:17716: result: no configure:17720: error: pycairo headers not found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_boost_python=yes ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CAIROMM_CFLAGS_set= ac_cv_env_CAIROMM_CFLAGS_value= ac_cv_env_CAIROMM_LIBS_set= ac_cv_env_CAIROMM_LIBS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_EXPAT_CFLAGS_set= ac_cv_env_EXPAT_CFLAGS_value= ac_cv_env_EXPAT_LIBS_set= ac_cv_env_EXPAT_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold' 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=set ac_cv_env_PKG_CONFIG_PATH_value=/var/tmp/portage/dev-python/graph-tool-2.35/temp/python3.6/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_value= ac_cv_env_PYTHON_set=set ac_cv_env_PYTHON_value=/usr/bin/python3.6 ac_cv_env_SPARSEHASH_CFLAGS_set= ac_cv_env_SPARSEHASH_CFLAGS_value= ac_cv_env_SPARSEHASH_LIBS_set= ac_cv_env_SPARSEHASH_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=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_numpy_arrayobject_h=yes ac_cv_header_py3cairo_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-pc-linux-gnu ac_cv_lib_boost_context_mt___exit=yes ac_cv_lib_boost_coroutine_mt___exit=yes ac_cv_lib_boost_graph_mt___exit=yes ac_cv_lib_boost_iostreams_mt___exit=yes ac_cv_lib_boost_regex_mt___exit=yes ac_cv_lib_boost_thread___exit=yes ac_cv_lib_gmp___gmpz_init=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config ac_cv_path_PYTHON=/usr/bin/python3.6 ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=x86_64-pc-linux-gnu-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_CXX=x86_64-pc-linux-gnu-g++ ac_cv_prog_CXXCPP='x86_64-pc-linux-gnu-g++ -E' ac_cv_prog_OBJDUMP=x86_64-pc-linux-gnu-objdump ac_cv_prog_RANLIB=x86_64-pc-linux-gnu-ranlib ac_cv_prog_STRIP=x86_64-pc-linux-gnu-strip ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_strerror='none required' ac_cv_target=x86_64-pc-linux-gnu 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_pax=gnutar am_cv_python_platform=linux am_cv_python_pyexecdir='${exec_prefix}/lib64/python3.6/site-packages' am_cv_python_pythondir='${prefix}/lib64/python3.6/site-packages' am_cv_python_version=3.6 ax_cv_boost_context=yes ax_cv_boost_coroutine=yes ax_cv_boost_graph=yes ax_cv_boost_iostreams=yes ax_cv_boost_regex=yes ax_cv_boost_thread=yes ax_cv_cxx_compile_cxx17=no ax_cv_cxx_compile_cxx17__std_gnupp17=yes ax_cv_cxx_openmp=-fopenmp ax_cv_lib_boost_python36___BOOST_PYTHON_MODULE=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=x86_64-pc-linux-gnu-ld.gold lt_cv_path_LDCXX='x86_64-pc-linux-gnu-ld.gold -m elf_x86_64' lt_cv_path_NM='/usr/bin/x86_64-pc-linux-gnu-nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' pkg_cv_CAIROMM_CFLAGS='-I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include ' pkg_cv_CAIROMM_LIBS='-lcairomm-1.0 -lcairo -lsigc-2.0 ' pkg_cv_EXPAT_CFLAGS= pkg_cv_EXPAT_LIBS='-lexpat ' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.35/work/graph-tool-2.35-python3_6/build-aux/missing aclocal-1.16' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='x86_64-pc-linux-gnu-ar' AUTOCONF='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.35/work/graph-tool-2.35-python3_6/build-aux/missing autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.35/work/graph-tool-2.35-python3_6/build-aux/missing autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.35/work/graph-tool-2.35-python3_6/build-aux/missing automake-1.16' AWK='gawk' BOOST_CONTEXT_LIB='-lboost_context-mt' BOOST_COROUTINE_LIB='-lboost_coroutine-mt' BOOST_CPPFLAGS='-pthread -I/usr/include' BOOST_GRAPH_LIB='-lboost_graph-mt' BOOST_IOSTREAMS_LIB='-lboost_iostreams-mt' BOOST_LDFLAGS='-L/usr/lib64' BOOST_PYTHON_LIB='boost_python36' BOOST_REGEX_LIB='-lboost_regex-mt' BOOST_THREAD_LIB='-lboost_thread -lpthread' CAIROMM_CFLAGS='-I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include' CAIROMM_LIBS='-lcairomm-1.0 -lcairo -lsigc-2.0 ' CC='x86_64-pc-linux-gnu-gcc' CCDEPMODE='depmode=none' CFLAGS='-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' CGAL_CPPFLAGS='-I/usr/include' CGAL_FLAGS='-frounding-math' CGAL_LDFLAGS='' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS=' -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I -I/usr/include/python3.6m -DNDEBUG ' CXX='x86_64-pc-linux-gnu-g++ -std=gnu++17' CXXCPP='x86_64-pc-linux-gnu-g++ -E -std=gnu++17' CXXDEPMODE='depmode=none' CXXFLAGS='-fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' EXPAT_CFLAGS='' EXPAT_LIBS='-lexpat ' FGREP='/bin/grep -F' GRAPH_TOOL_VERSION_MAJOR='2' GRAPH_TOOL_VERSION_MINOR='35' GREP='/bin/grep' HAVE_CXX17='1' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='x86_64-pc-linux-gnu-ld.gold -m elf_x86_64' LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=gold' LIBOBJS='' LIBS='-lgmp -lgmp ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.35/work/graph-tool-2.35-python3_6/build-aux/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' MOD_CPPFLAGS='' MOD_DIR='/usr/lib64/python3.6/site-packages/graph_tool' MOD_LDFLAGS='' MOD_LIBADD='' NM='/usr/bin/x86_64-pc-linux-gnu-nm -B' NMEDIT='' NO_PREFIX_PACKAGE_DATA_DIR='' NO_PREFIX_PACKAGE_DOC_DIR='' OBJDUMP='x86_64-pc-linux-gnu-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='graph-tool' PACKAGE_BUGREPORT='http://graph-tool.skewed.de/issues' PACKAGE_DATA_DIR='' PACKAGE_DOC_DIR='' PACKAGE_NAME='graph-tool' PACKAGE_STRING='graph-tool 2.35' PACKAGE_TARNAME='graph-tool' PACKAGE_URL='http://graph-tool.skewed.de' PACKAGE_VERSION='2.35' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/x86_64-pc-linux-gnu-pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='/var/tmp/portage/dev-python/graph-tool-2.35/temp/python3.6/pkgconfig' PYTHON='/usr/bin/python3.6' PYTHON_CPPFLAGS='-I -I/usr/include/python3.6m' PYTHON_EXEC_PREFIX='${exec_prefix}' PYTHON_EXTRA_LDFLAGS='-Xlinker -export-dynamic' PYTHON_EXTRA_LIBS='-lpthread -ldl -lutil -lm' PYTHON_FULL_VERSION='3.6.12' PYTHON_LIBS='-L/usr/lib64 -lpython3.6m' PYTHON_PLATFORM='linux' PYTHON_PREFIX='${prefix}' PYTHON_SITE_PKG='/usr/lib64/python3.6/site-packages' PYTHON_VERSION='3.6' RANLIB='x86_64-pc-linux-gnu-ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' SPARSEHASH_CFLAGS='' SPARSEHASH_LIBS='' STRIP='x86_64-pc-linux-gnu-strip' VERSION='2.35' 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 --format=posix -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='/usr/share' datarootdir='${prefix}/share' docdir='/usr/share/doc/graph-tool-2.35' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' htmldir='/usr/share/doc/graph-tool-2.35/html' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.35/work/graph-tool-2.35-python3_6/build-aux/install-sh' libdir='/usr/lib64' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' pkgconfig_libdir='' pkgconfig_libfile='' pkgconfigdir='${libdir}/pkgconfig' pkgpyexecdir='${pyexecdir}/graph-tool' pkgpythondir='${pythondir}/graph-tool' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' pyexecdir='${exec_prefix}/lib64/python3.6/site-packages' pythondir='${prefix}/lib64/python3.6/site-packages' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "graph-tool" #define PACKAGE_TARNAME "graph-tool" #define PACKAGE_VERSION "2.35" #define PACKAGE_STRING "graph-tool 2.35" #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" #define PACKAGE_URL "http://graph-tool.skewed.de" #define PACKAGE "graph-tool" #define VERSION "2.35" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_CXX17 1 #define OPENMP_MIN_THRESH 300 #define HAVE_OPENMP 1 #define HAVE_PYTHON "3.6" #define HAVE_BOOST /**/ #define HAVE_BOOST_PYTHON /**/ #define HAVE_BOOST_IOSTREAMS /**/ #define HAVE_BOOST_REGEX /**/ #define HAVE_BOOST_CONTEXT /**/ #define HAVE_BOOST_COROUTINE /**/ #define BOOST_COROUTINE_STACK_SIZE 5242880 #define HAVE_BOOST_GRAPH /**/ #define HAVE_BOOST_THREAD /**/ #define HAVE_LIBGMP 1 #define HAVE_LIBGMP 1 #define HAVE_CGAL 1 #define HAVE_CAIROMM 1 #define PYCAIRO_HEADER configure: exit 1