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.14, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = ubuntu uname -m = x86_64 uname -r = 3.13.0-54-generic uname -s = Linux uname -v = #91-Ubuntu SMP Tue May 26 19:15:08 UTC 2015 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2692: checking build system type configure:2706: result: x86_64-unknown-linux-gnu configure:2726: checking host system type configure:2739: result: x86_64-unknown-linux-gnu configure:2759: checking target system type configure:2772: result: x86_64-unknown-linux-gnu configure:2815: checking for a BSD-compatible install configure:2883: result: /usr/bin/install -c configure:2894: checking whether build environment is sane configure:2949: result: yes configure:3100: checking for a thread-safe mkdir -p configure:3139: result: /bin/mkdir -p configure:3146: checking for gawk configure:3176: result: no configure:3146: checking for mawk configure:3162: found /usr/bin/mawk configure:3173: result: mawk configure:3184: checking whether make sets $(MAKE) configure:3206: result: yes configure:3235: checking whether make supports nested variables configure:3252: result: yes configure:3389: checking whether make supports nested variables configure:3406: result: yes configure:3429: checking for style of include used by make configure:3457: result: GNU configure:3528: checking for gcc configure:3555: result: /usr/bin/gcc-5 configure:3784: checking for C compiler version configure:3793: /usr/bin/gcc-5 --version >&5 gcc-5 (Ubuntu 5.3.0-3ubuntu1~14.04) 5.3.0 20151204 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3804: $? = 0 configure:3793: /usr/bin/gcc-5 -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/gcc-5 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.0-3ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04) configure:3804: $? = 0 configure:3793: /usr/bin/gcc-5 -V >&5 gcc-5: error: unrecognized command line option '-V' gcc-5: fatal error: no input files compilation terminated. configure:3804: $? = 1 configure:3793: /usr/bin/gcc-5 -qversion >&5 gcc-5: error: unrecognized command line option '-qversion' gcc-5: fatal error: no input files compilation terminated. configure:3804: $? = 1 configure:3824: checking whether the C compiler works configure:3846: /usr/bin/gcc-5 conftest.c >&5 configure:3850: $? = 0 configure:3898: result: yes configure:3901: checking for C compiler default output file name configure:3903: result: a.out configure:3909: checking for suffix of executables configure:3916: /usr/bin/gcc-5 -o conftest conftest.c >&5 configure:3920: $? = 0 configure:3942: result: configure:3964: checking whether we are cross compiling configure:3972: /usr/bin/gcc-5 -o conftest conftest.c >&5 configure:3976: $? = 0 configure:3983: ./conftest configure:3987: $? = 0 configure:4002: result: no configure:4007: checking for suffix of object files configure:4029: /usr/bin/gcc-5 -c conftest.c >&5 configure:4033: $? = 0 configure:4054: result: o configure:4058: checking whether we are using the GNU C compiler configure:4077: /usr/bin/gcc-5 -c conftest.c >&5 configure:4077: $? = 0 configure:4086: result: yes configure:4095: checking whether /usr/bin/gcc-5 accepts -g configure:4115: /usr/bin/gcc-5 -c -g conftest.c >&5 configure:4115: $? = 0 configure:4156: result: yes configure:4173: checking for /usr/bin/gcc-5 option to accept ISO C89 configure:4236: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4236: $? = 0 configure:4249: result: none needed configure:4274: checking whether /usr/bin/gcc-5 understands -c and -o together configure:4296: /usr/bin/gcc-5 -c conftest.c -o conftest2.o configure:4299: $? = 0 configure:4296: /usr/bin/gcc-5 -c conftest.c -o conftest2.o configure:4299: $? = 0 configure:4311: result: yes configure:4330: checking dependency style of /usr/bin/gcc-5 configure:4441: result: gcc3 configure:4462: checking for library containing strerror configure:4493: /usr/bin/gcc-5 -o conftest -g -O2 conftest.c >&5 configure:4493: $? = 0 configure:4510: result: none required configure:4525: checking how to run the C preprocessor configure:4556: /usr/bin/gcc-5 -E conftest.c configure:4556: $? = 0 configure:4570: /usr/bin/gcc-5 -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4570: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | /* end confdefs.h. */ | #include configure:4595: result: /usr/bin/gcc-5 -E configure:4615: /usr/bin/gcc-5 -E conftest.c configure:4615: $? = 0 configure:4629: /usr/bin/gcc-5 -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4629: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | /* end confdefs.h. */ | #include configure:4658: checking for grep that handles long lines and -e configure:4716: result: /bin/grep configure:4721: checking for egrep configure:4783: result: /bin/grep -E configure:4788: checking for ANSI C header files configure:4808: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4808: $? = 0 configure:4881: /usr/bin/gcc-5 -o conftest -g -O2 conftest.c >&5 configure:4881: $? = 0 configure:4881: ./conftest configure:4881: $? = 0 configure:4892: result: yes configure:4905: checking for sys/types.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for sys/stat.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for stdlib.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for string.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for memory.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for strings.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for inttypes.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for stdint.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4905: checking for unistd.h configure:4905: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4905: $? = 0 configure:4905: result: yes configure:4918: checking minix/config.h usability configure:4918: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 conftest.c:54:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:4918: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:4918: result: no configure:4918: checking minix/config.h presence configure:4918: /usr/bin/gcc-5 -E conftest.c conftest.c:21:26: fatal error: minix/config.h: No such file or directory compilation terminated. configure:4918: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:4918: result: no configure:4918: checking for minix/config.h configure:4918: result: no configure:4939: checking whether it is safe to define __EXTENSIONS__ configure:4957: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:4957: $? = 0 configure:4964: result: yes configure:5090: checking for C++ compiler version configure:5099: /usr/bin/g++-5 --version >&5 g++-5 (Ubuntu 5.3.0-3ubuntu1~14.04) 5.3.0 20151204 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:5110: $? = 0 configure:5099: /usr/bin/g++-5 -v >&5 Using built-in specs. COLLECT_GCC=/usr/bin/g++-5 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.0-3ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=gcc4-compatible --disable-libstdcxx-dual-abi --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.3.0 20151204 (Ubuntu 5.3.0-3ubuntu1~14.04) configure:5110: $? = 0 configure:5099: /usr/bin/g++-5 -V >&5 g++-5: error: unrecognized command line option '-V' g++-5: fatal error: no input files compilation terminated. configure:5110: $? = 1 configure:5099: /usr/bin/g++-5 -qversion >&5 g++-5: error: unrecognized command line option '-qversion' g++-5: fatal error: no input files compilation terminated. configure:5110: $? = 1 configure:5114: checking whether we are using the GNU C++ compiler configure:5133: /usr/bin/g++-5 -c conftest.cpp >&5 configure:5133: $? = 0 configure:5142: result: yes configure:5151: checking whether /usr/bin/g++-5 accepts -g configure:5171: /usr/bin/g++-5 -c -g conftest.cpp >&5 configure:5171: $? = 0 configure:5212: result: yes configure:5237: checking dependency style of /usr/bin/g++-5 configure:5348: result: gcc3 configure:5373: checking for /usr/bin/gcc-5 option to accept ISO C99 configure:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5522: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:76:29: error: expected ',' or '...' before 'text' 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 for (unsigned int i = 0; *(text+i) != '\0'; ++i) ^ conftest.cpp: In function 'int main()': conftest.cpp:130:18: error: expected initializer before 'newvar' char *restrict newvar = "Another string"; ^ conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive] malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ^ conftest.cpp:156:59: error: 'newvar' was not declared in this scope return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' ^ configure:5522: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5538: result: unsupported configure:5548: checking for /usr/bin/gcc-5 option to accept ISO C89 configure:5624: result: none needed configure:5643: checking for /usr/bin/gcc-5 option to accept ISO Standard C configure:5654: result: none needed configure:5667: checking how to run the C++ preprocessor configure:5694: /usr/bin/g++-5 -E conftest.cpp configure:5694: $? = 0 configure:5708: /usr/bin/g++-5 -E conftest.cpp conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5708: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5733: result: /usr/bin/g++-5 -E configure:5753: /usr/bin/g++-5 -E conftest.cpp configure:5753: $? = 0 configure:5767: /usr/bin/g++-5 -E conftest.cpp conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:5767: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:5796: checking for ANSI C header files configure:5900: result: yes configure:5986: checking how to print strings configure:6013: result: printf configure:6034: checking for a sed that does not truncate output configure:6098: result: /bin/sed configure:6116: checking for fgrep configure:6178: result: /bin/grep -F configure:6213: checking for ld used by /usr/bin/gcc-5 configure:6280: result: /usr/bin/ld configure:6287: checking if the linker (/usr/bin/ld) is GNU ld configure:6302: result: yes configure:6314: checking for BSD- or MS-compatible name lister (nm) configure:6368: result: /usr/bin/nm -B configure:6498: checking the name lister (/usr/bin/nm -B) interface configure:6505: /usr/bin/g++-5 -c conftest.cpp >&5 configure:6508: /usr/bin/nm -B "conftest.o" configure:6511: output 0000000000000000 B some_variable configure:6518: result: BSD nm configure:6521: checking whether ln -s works configure:6525: result: yes configure:6533: checking the maximum length of command line arguments configure:6664: result: 1572864 configure:6712: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format configure:6752: result: func_convert_file_noop configure:6759: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:6779: result: func_convert_file_noop configure:6786: checking for /usr/bin/ld option to reload object files configure:6793: result: -r configure:6867: checking for objdump configure:6883: found /usr/bin/objdump configure:6894: result: objdump configure:6926: checking how to recognize dependent libraries configure:7126: result: pass_all configure:7211: checking for dlltool configure:7241: result: no configure:7271: checking how to associate runtime and link libraries configure:7298: result: printf %s\n configure:7358: checking for ar configure:7374: found /usr/bin/ar configure:7385: result: ar configure:7422: checking for archiver @FILE support configure:7439: /usr/bin/g++-5 -c conftest.cpp >&5 configure:7439: $? = 0 configure:7442: ar cru libconftest.a @conftest.lst >&5 configure:7445: $? = 0 configure:7450: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:7453: $? = 1 configure:7465: result: @ configure:7523: checking for strip configure:7539: found /usr/bin/strip configure:7550: result: strip configure:7622: checking for ranlib configure:7638: found /usr/bin/ranlib configure:7649: result: ranlib configure:7751: checking command to parse /usr/bin/nm -B output from /usr/bin/gcc-5 object configure:7904: /usr/bin/g++-5 -c conftest.cpp >&5 configure:7907: $? = 0 configure:7911: /usr/bin/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:7914: $? = 0 configure:7980: /usr/bin/g++-5 -o conftest conftest.cpp conftstm.o >&5 configure:7983: $? = 0 configure:8021: result: ok configure:8068: checking for sysroot configure:8098: result: no configure:8105: checking for a working dd configure:8143: result: /bin/dd configure:8147: checking how to truncate binary pipes configure:8162: result: /bin/dd bs=4096 count=1 configure:8298: /usr/bin/g++-5 -c conftest.cpp >&5 configure:8301: $? = 0 configure:8491: checking for mt configure:8507: found /bin/mt configure:8518: result: mt configure:8541: checking if mt is a manifest tool configure:8547: mt '-?' configure:8555: result: no configure:9229: checking for dlfcn.h configure:9229: /usr/bin/g++-5 -c conftest.cpp >&5 configure:9229: $? = 0 configure:9229: result: yes configure:9465: checking for objdir configure:9480: result: .libs configure:9740: checking if /usr/bin/gcc-5 supports -fno-rtti -fno-exceptions configure:9758: /usr/bin/gcc-5 -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:9762: $? = 0 configure:9775: result: no configure:10133: checking for /usr/bin/gcc-5 option to produce PIC configure:10140: result: -fPIC -DPIC configure:10148: checking if /usr/bin/gcc-5 PIC flag -fPIC -DPIC works configure:10166: /usr/bin/gcc-5 -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:10170: $? = 0 configure:10183: result: yes configure:10212: checking if /usr/bin/gcc-5 static flag -static works configure:10240: result: yes configure:10255: checking if /usr/bin/gcc-5 supports -c -o file.o configure:10276: /usr/bin/gcc-5 -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:10280: $? = 0 configure:10302: result: yes configure:10310: checking if /usr/bin/gcc-5 supports -c -o file.o configure:10357: result: yes configure:10390: checking whether the /usr/bin/gcc-5 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:11649: result: yes configure:11686: checking whether -lc should be explicitly linked in configure:11694: /usr/bin/gcc-5 -c -g -O2 conftest.c >&5 configure:11697: $? = 0 configure:11712: /usr/bin/gcc-5 -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11715: $? = 0 configure:11729: result: no configure:11889: checking dynamic linker characteristics configure:12470: /usr/bin/gcc-5 -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12470: $? = 0 configure:12707: result: GNU/Linux ld.so configure:12829: checking how to hardcode library paths into programs configure:12854: result: immediate configure:13402: checking whether stripping libraries is possible configure:13407: result: yes configure:13442: checking if libtool supports shared libraries configure:13444: result: yes configure:13447: checking whether to build shared libraries configure:13472: result: yes configure:13475: checking whether to build static libraries configure:13479: result: no configure:13502: checking how to run the C++ preprocessor configure:13568: result: /usr/bin/g++-5 -E configure:13588: /usr/bin/g++-5 -E conftest.cpp configure:13588: $? = 0 configure:13602: /usr/bin/g++-5 -E conftest.cpp conftest.cpp:29:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:13602: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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:13764: checking for ld used by /usr/bin/g++-5 configure:13831: result: /usr/bin/ld -m elf_x86_64 configure:13838: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:13853: result: yes configure:13908: checking whether the /usr/bin/g++-5 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14981: result: yes configure:15017: /usr/bin/g++-5 -c conftest.cpp >&5 configure:15020: $? = 0 configure:15501: checking for /usr/bin/g++-5 option to produce PIC configure:15508: result: -fPIC -DPIC configure:15516: checking if /usr/bin/g++-5 PIC flag -fPIC -DPIC works configure:15534: /usr/bin/g++-5 -c -fPIC -DPIC -DPIC conftest.cpp >&5 configure:15538: $? = 0 configure:15551: result: yes configure:15574: checking if /usr/bin/g++-5 static flag -static works configure:15602: result: yes configure:15614: checking if /usr/bin/g++-5 supports -c -o file.o configure:15635: /usr/bin/g++-5 -c -o out/conftest2.o conftest.cpp >&5 configure:15639: $? = 0 configure:15661: result: yes configure:15666: checking if /usr/bin/g++-5 supports -c -o file.o configure:15713: result: yes configure:15743: checking whether the /usr/bin/g++-5 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:15783: result: yes configure:15924: checking dynamic linker characteristics configure:16669: result: GNU/Linux ld.so configure:16734: checking how to hardcode library paths into programs configure:16759: result: immediate configure:16876: checking for pkg-config configure:16894: found /usr/bin/pkg-config configure:16906: result: /usr/bin/pkg-config configure:16931: checking pkg-config is at least version 0.9.0 configure:16934: result: yes configure:16965: checking whether /usr/bin/g++-5 supports C++14 features by default configure:17379: /usr/bin/g++-5 -c conftest.cpp >&5 conftest.cpp:40:2: error: #error "This is not a C++11 compiler" #error "This is not a C++11 compiler" ^ conftest.cpp:325:2: error: #error "This is not a C++14 compiler" #error "This is not a C++14 compiler" ^ configure:17379: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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_seperators | { | | 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 | | | configure:17386: result: no configure:17395: checking whether /usr/bin/g++-5 supports C++14 features with -std=gnu++14 configure:17811: /usr/bin/g++-5 -c -std=gnu++14 conftest.cpp >&5 configure:17811: $? = 0 configure:17820: result: yes configure:17860: checking whether to enable debug info configure:17880: result: no configure:17890: checking whether to enable function inlining... configure:17910: result: yes configure:17925: checking whether to enable optimizations configure:17941: result: yes configure:17947: checking whether to enable symbol visibility manipulation configure:17963: result: yes configure:17989: checking whether to enable parallel algorithms with openmp configure:18010: result: no configure:18018: checking whether to enable cairo drawing configure:18032: result: yes configure:18044: checking for main in -lm configure:18063: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lm >&5 configure:18063: $? = 0 configure:18072: result: yes configure:18084: checking for main in -lbz2 configure:18103: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lbz2 -lm >&5 /usr/bin/ld: cannot find -lbz2 collect2: error: ld returned 1 exit status configure:18103: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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 OPENMP_MIN_THRESH 300 | #define HAVE_LIBM 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:18112: result: no configure:18124: checking for main in -lexpat configure:18143: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas conftest.cpp -lexpat -lm >&5 configure:18143: $? = 0 configure:18152: result: yes configure:18202: checking for a Python interpreter with version >= 2.6 configure:18219: python -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.6'.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:18222: $? = 0 configure:18228: result: python configure:18236: checking for python configure:18254: found /usr/bin/python configure:18266: result: /usr/bin/python configure:18284: checking for python version configure:18291: result: 2.7 configure:18303: checking for python platform configure:18310: result: linux2 configure:18336: checking for python script directory configure:18371: result: ${prefix}/lib/python2.7/dist-packages configure:18380: checking for python extension module directory configure:18415: result: ${exec_prefix}/lib/python2.7/dist-packages configure:18440: checking for python2.7 configure:18470: result: /usr/bin/python configure:18486: checking for a version of Python >= '2.1.0' configure:18512: result: yes configure:18520: checking for a version of Python == '2.7.6' configure:18526: result: yes configure:18543: checking for the distutils Python package configure:18547: result: yes configure:18561: checking for Python include path configure:18577: result: -I/usr/include/python2.7 configure:18584: checking for Python library path configure:18661: result: -L/usr/lib -lpython2.7 configure:18668: checking for Python site-packages path configure:18674: result: /usr/lib/python2.7/dist-packages configure:18681: checking python extra libraries configure:18688: result: -lpthread -ldl -lutil -lm configure:18695: checking python extra linking flags configure:18702: result: -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions configure:18709: checking consistency of all components of python development environment configure:18737: /usr/bin/gcc-5 -o conftest -g -O2 -I/usr/include/python2.7 -lpthread -ldl -lutil -lm conftest.c -lexpat -lm -L/usr/lib -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions >&5 configure:18737: $? = 0 configure:18755: result: yes configure:18849: checking for boostlib >= 1.54.0 configure:18932: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include conftest.cpp >&5 configure:18932: $? = 0 configure:18934: result: yes configure:19120: checking whether the Boost::Python library is available configure:19138: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include -I/usr/include/python2.7 -I/usr/include/python2.7 conftest.cpp >&5 configure:19138: $? = 0 configure:19146: result: yes configure:19165: checking whether boost_python is the correct library configure:19184: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include -I/usr/include/python2.7 -I/usr/include/python2.7 -L/usr/lib/x86_64-linux-gnu conftest.cpp -lboost_python -lexpat -lm -L/usr/lib -lpython2.7 >&5 configure:19184: $? = 0 configure:19193: result: yes configure:19214: checking whether the Boost::Iostreams library is available configure:19248: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 conftest.cpp >&5 configure:19248: $? = 0 configure:19263: result: yes configure:19281: checking for exit in -lboost_iostreams configure:19306: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 conftest.cpp -lboost_iostreams -lexpat -lm >&5 configure:19306: $? = 0 configure:19316: result: yes configure:19329: checking whether the Boost::Regex library is available configure:19358: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 conftest.cpp >&5 configure:19358: $? = 0 configure:19373: result: yes configure:19391: checking for exit in -lboost_regex configure:19416: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 conftest.cpp -lboost_regex -lexpat -lm >&5 configure:19416: $? = 0 configure:19426: result: yes configure:19472: checking whether the Boost::Coroutine library is available configure:19496: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:41:1: error: 'asymmetric_coroutine' is not a member of 'boost::coroutines' boost::coroutines::asymmetric_coroutine< void() > f; ^ conftest.cpp:41:51: error: 'f' was not declared in this scope boost::coroutines::asymmetric_coroutine< void() > f; ^ configure:19496: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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 OPENMP_MIN_THRESH 300 | #define HAVE_LIBM 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_PYTHON "2.7" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | #define HAVE_BOOST_REGEX /**/ | /* end confdefs.h. */ | #include | int | main () | { | boost::coroutines::asymmetric_coroutine< void() > f; | ; | return 0; | } configure:19511: result: no configure:19688: WARNING: No usable boost::coroutine found! Some functionality will be disabled in the library. configure:19691: checking whether the Boost::Graph library is available configure:19722: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 conftest.cpp >&5 configure:19722: $? = 0 configure:19737: result: yes configure:19755: checking for exit in -lboost_graph configure:19780: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 conftest.cpp -lboost_graph -lexpat -lm >&5 configure:19780: $? = 0 configure:19790: result: yes configure:19806: checking for main in -lCGAL configure:19825: /usr/bin/g++-5 -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include conftest.cpp -lCGAL -lexpat -lm >&5 configure:19825: $? = 0 configure:19834: result: yes configure:19848: checking whether to enable cgal debbuging with valgrind configure:19862: result: no configure:19881: checking python module: numpy configure:19886: result: yes configure:19909: checking for /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h configure:19909: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include conftest.cpp >&5 In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from conftest.cpp:41: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:26:0, from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from conftest.cpp:41: /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1629:1: warning: 'int _import_array()' defined but not used [-Wunused-function] _import_array(void) ^ configure:19909: $? = 0 configure:19909: result: yes configure:19922: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp >&5 conftest.cpp:39:21: warning: extra tokens at end of #include directive #include "Python.h" #include "/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h" #if NPY_API_VERSION < 0x00000007 #error #endif ^ configure:19922: $? = 0 configure:19940: checking python module: scipy configure:19945: result: yes configure:19968: checking expat.h usability configure:19968: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp >&5 configure:19968: $? = 0 configure:19968: result: yes configure:19968: checking expat.h presence configure:19968: /usr/bin/g++-5 -E -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp configure:19968: $? = 0 configure:19968: result: yes configure:19968: checking for expat.h configure:19968: result: yes configure:19977: checking CGAL/version.h usability configure:19977: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp >&5 configure:19977: $? = 0 configure:19977: result: yes configure:19977: checking CGAL/version.h presence configure:19977: /usr/bin/g++-5 -E -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp configure:19977: $? = 0 configure:19977: result: yes configure:19977: checking for CGAL/version.h configure:19977: result: yes configure:19990: checking for CAIROMM configure:19997: $PKG_CONFIG --exists --print-errors "cairomm-1.0" configure:20000: $? = 0 configure:20014: $PKG_CONFIG --exists --print-errors "cairomm-1.0" configure:20017: $? = 0 configure:20075: result: yes configure:20094: checking python module: cairo configure:20099: result: yes configure:20130: checking pycairo/pycairo.h usability configure:20130: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 conftest.cpp >&5 configure:20130: $? = 0 configure:20130: result: yes configure:20130: checking pycairo/pycairo.h presence configure:20130: /usr/bin/g++-5 -E -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 conftest.cpp configure:20130: $? = 0 configure:20130: result: yes configure:20130: checking for pycairo/pycairo.h configure:20130: result: yes configure:20151: checking whether to enable sparsehash configure:20165: result: yes configure:20174: checking for SPARSEHASH configure:20181: $PKG_CONFIG --exists --print-errors "libsparsehash" Package libsparsehash was not found in the pkg-config search path. Perhaps you should add the directory containing `libsparsehash.pc' to the PKG_CONFIG_PATH environment variable No package 'libsparsehash' found configure:20184: $? = 1 configure:20198: $PKG_CONFIG --exists --print-errors "libsparsehash" Package libsparsehash was not found in the pkg-config search path. Perhaps you should add the directory containing `libsparsehash.pc' to the PKG_CONFIG_PATH environment variable No package 'libsparsehash' found configure:20201: $? = 1 configure:20215: result: no No package 'libsparsehash' found configure:20231: result: not found by pkgconfig, trying default... configure:20259: checking sparsehash/dense_hash_set usability configure:20259: /usr/bin/g++-5 -c -Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp >&5 conftest.cpp:76:37: fatal error: sparsehash/dense_hash_set: No such file or directory compilation terminated. configure:20259: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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 OPENMP_MIN_THRESH 300 | #define HAVE_LIBM 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_PYTHON "2.7" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | #define HAVE_BOOST_REGEX /**/ | #define HAVE_BOOST_GRAPH /**/ | #define HAVE_LIBCGAL 1 | #define HAVE_CAIROMM 1 | #define PYCAIRO_HEADER | #define SPARSEHASH_PREFIX sparsehash | #define SPARSEHASH_INCLUDE(f) | /* 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:20259: result: no configure:20259: checking sparsehash/dense_hash_set presence configure:20259: /usr/bin/g++-5 -E -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include conftest.cpp conftest.cpp:43:37: fatal error: sparsehash/dense_hash_set: No such file or directory compilation terminated. configure:20259: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.14" | #define PACKAGE_STRING "graph-tool 2.14" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" | #define PACKAGE_URL "http://graph-tool.skewed.de" | #define PACKAGE "graph-tool" | #define VERSION "2.14" | #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 OPENMP_MIN_THRESH 300 | #define HAVE_LIBM 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_PYTHON "2.7" | #define HAVE_BOOST /**/ | #define HAVE_BOOST_PYTHON /**/ | #define HAVE_BOOST_IOSTREAMS /**/ | #define HAVE_BOOST_REGEX /**/ | #define HAVE_BOOST_GRAPH /**/ | #define HAVE_LIBCGAL 1 | #define HAVE_CAIROMM 1 | #define PYCAIRO_HEADER | #define SPARSEHASH_PREFIX sparsehash | #define SPARSEHASH_INCLUDE(f) | /* end confdefs.h. */ | #include configure:20259: result: no configure:20259: checking for sparsehash/dense_hash_set configure:20259: result: no configure:20263: error: sparsehash headers not found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_boost_graph=yes ac_cv_boost_iostreams=yes ac_cv_boost_python=yes ac_cv_boost_regex=yes ac_cv_build=x86_64-unknown-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=set ac_cv_env_CC_value=/usr/bin/gcc-5 ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= 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= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/usr/bin/g++-5 ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_value= ac_cv_env_PYTHON_set= ac_cv_env_PYTHON_value= 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= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_CGAL_version_h=yes ac_cv_header__usr_lib_python2_7_dist_packages_numpy_core_include_numpy_arrayobject_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_expat_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_pycairo_pycairo_h=yes ac_cv_header_sparsehash_dense_hash_set=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-unknown-linux-gnu ac_cv_lib_CGAL_main=yes ac_cv_lib_boost_graph___exit=yes ac_cv_lib_boost_iostreams___exit=yes ac_cv_lib_boost_regex___exit=yes ac_cv_lib_bz2_main=no ac_cv_lib_expat_main=yes ac_cv_lib_m_main=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_PYTHON=/usr/bin/python ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_CPP='/usr/bin/gcc-5 -E' ac_cv_prog_CXXCPP='/usr/bin/g++-5 -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=/usr/bin/gcc-5 ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=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-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_pathless_PYTHON=python am_cv_prog_cc_c_o=yes am_cv_python_platform=linux2 am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/dist-packages' am_cv_python_pythondir='${prefix}/lib/python2.7/dist-packages' am_cv_python_version=2.7 ax_cv_boost_coroutine=no ax_cv_cxx_compile_cxx14=no ax_cv_cxx_compile_cxx14__std_gnupp14=yes ax_cv_lib_boost_python___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=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/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=no 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/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 ' pkg_cv_CAIROMM_LIBS='-lcairomm-1.0 -lcairo -lsigc-2.0 ' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/user/T??l??chargements/graph-tool-2.14/missing aclocal-1.15' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /home/user/T??l??chargements/graph-tool-2.14/missing autoconf' AUTOHEADER='${SHELL} /home/user/T??l??chargements/graph-tool-2.14/missing autoheader' AUTOMAKE='${SHELL} /home/user/T??l??chargements/graph-tool-2.14/missing automake-1.15' AWK='mawk' BOOST_COROUTINE_LIB='' BOOST_CPPFLAGS='-I/usr/include' BOOST_GRAPH_LIB='boost_graph' BOOST_IOSTREAMS_LIB='boost_iostreams' BOOST_LDFLAGS='-L/usr/lib/x86_64-linux-gnu' BOOST_PYTHON_LIB='boost_python' BOOST_REGEX_LIB='boost_regex' CAIROMM_CFLAGS='-I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 ' CAIROMM_LIBS='-lcairomm-1.0 -lcairo -lsigc-2.0 ' CC='/usr/bin/gcc-5' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CGAL_FLAGS='-frounding-math' CGAL_LIBADD='-lCGAL -lgmp' CPP='/usr/bin/gcc-5 -E' CPPFLAGS=' -I/usr/include/python2.7 -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include' CXX='/usr/bin/g++-5' CXXCPP='/usr/bin/g++-5 -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14 -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GRAPH_TOOL_VERSION_MAJOR='2' GRAPH_TOOL_VERSION_MINOR='14' GREP='/bin/grep' HAVE_CXX14='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS=' ' LIBOBJS='' LIBS='-lCGAL -lexpat -lm ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/user/T??l??chargements/graph-tool-2.14/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' MOD_CPPFLAGS='' MOD_DIR='/usr/lib/python2.7/dist-packages/graph_tool' MOD_LDFLAGS='' MOD_LIBADD='' NM='/usr/bin/nm -B' NMEDIT='' NO_INLINE_FALSE='' NO_INLINE_TRUE='#' NO_PREFIX_PACKAGE_DATA_DIR='' NO_PREFIX_PACKAGE_DOC_DIR='' OBJDUMP='objdump' OBJEXT='o' OPENMP_LDFLAGS='' 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.14' PACKAGE_TARNAME='graph-tool' PACKAGE_URL='http://graph-tool.skewed.de' PACKAGE_VERSION='2.14' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PYTHON='/usr/bin/python' PYTHON_CPPFLAGS='-I/usr/include/python2.7' PYTHON_EXEC_PREFIX='${exec_prefix}' PYTHON_EXTRA_LDFLAGS='-lpthread -ldl -lutil -lm' PYTHON_EXTRA_LIBS='-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions' PYTHON_FULL_VERSION='2.7.6' PYTHON_LIBS='-L/usr/lib -lpython2.7' PYTHON_PLATFORM='linux2' PYTHON_PREFIX='${prefix}' PYTHON_SITE_PKG='/usr/lib/python2.7/dist-packages' PYTHON_VERSION='2.7' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SPARSEHASH_CFLAGS='' SPARSEHASH_LIBS='' STRIP='strip' VERSION='2.14' ac_ct_AR='ar' ac_ct_CC='/usr/bin/gcc-5' 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='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/user/T??l??chargements/graph-tool-2.14/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/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/local' program_transform_name='s,x,x,' psdir='${docdir}' pyexecdir='${exec_prefix}/lib/python2.7/dist-packages' pythondir='${prefix}/lib/python2.7/dist-packages' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "graph-tool" #define PACKAGE_TARNAME "graph-tool" #define PACKAGE_VERSION "2.14" #define PACKAGE_STRING "graph-tool 2.14" #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" #define PACKAGE_URL "http://graph-tool.skewed.de" #define PACKAGE "graph-tool" #define VERSION "2.14" #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 OPENMP_MIN_THRESH 300 #define HAVE_LIBM 1 #define HAVE_LIBEXPAT 1 #define HAVE_PYTHON "2.7" #define HAVE_BOOST /**/ #define HAVE_BOOST_PYTHON /**/ #define HAVE_BOOST_IOSTREAMS /**/ #define HAVE_BOOST_REGEX /**/ #define HAVE_BOOST_GRAPH /**/ #define HAVE_LIBCGAL 1 #define HAVE_CAIROMM 1 #define PYCAIRO_HEADER #define SPARSEHASH_PREFIX sparsehash #define SPARSEHASH_INCLUDE(f) configure: exit 1