|
From: | Denis Davydov |
Subject: | Re: compiler error on macOS Siera with address@hidden |
Date: | Fri, 23 Sep 2016 20:37:23 +0200 |
Hi Eric,
configure:28741: /Users/davydden/spack/lib/spack/env/gcc/gcc -c -g -O2 -I/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/gcc-6.2.0/libsigsegv-2.10-dduf3ib2khihptbot54hgma7ow2f3zcx/include conftest.c >&5 In file included from /usr/include/sched.h:27:0, from conftest.c:274: /usr/include/pthread_impl.h:32:18: error: missing binary operator before token "(" #if __has_feature(assume_nonnull) ^ /usr/include/pthread_impl.h:62:18: error: missing binary operator before token "(" #if __has_feature(assume_nonnull) ^ conftest.c:277:8: error: unknown type name 'pid_t' pid_t t1; ^~~~~ configure:28741: $? = 1 configure:28828: checking for struct sched_param configure:28828: /Users/davydden/spack/lib/spack/env/gcc/gcc -c -g -O2 -I/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/gcc-6.2.0/libsigsegv-2.10-dduf3ib2khihptbot54hgma7ow2f3zcx/include conftest.c >&5 In file included from /usr/include/sched.h:27:0, from conftest.c:273: /usr/include/pthread_impl.h:32:18: error: missing binary operator before token "(" #if __has_feature(assume_nonnull) ^ /usr/include/pthread_impl.h:62:18: error: missing binary operator before token "(" #if __has_feature(assume_nonnull) ^ configure:28828: $? = 1 p.s. Not sure if config should actually use anything from `/usr/include/sched.h` as I compile with GCC, not Clang. M4 compiles fine with apple's Clang. Regards, Denis. |
[Prev in Thread] | Current Thread | [Next in Thread] |