[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6.0] fails to compile on macOS with Clang 8.1.0
From: |
Denis Davydov |
Subject: |
[6.0] fails to compile on macOS with Clang 8.1.0 |
Date: |
Tue, 28 Mar 2017 09:57:32 +0300 |
Dear all,
On the fresh Clang 8.1.0 on macOS 10.12.4 with XCode 8.3, ncurses fails to
compile with the error below.
Most likely something is screwed up yet again by Appleās clang, but it would
still be nice to have a workaround.
Kind regards,
Denis.
/Users/davydden/spack/lib/spack/env/clang/clang -DHAVE_CONFIG_H -I.
-I/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses
-I../include
-I/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/../include
-D_DARWIN_C_SOURCE -DNDEBUG -fPIC -no-cpp-precomp --param
max-inline-insns-single=1200 -dynamic -c
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/tty/hashmap.c
-o ../obj_s/hashmap.o
In file included from
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/tinfo/make_hash.c:40:
In file included from ../ncurses/build.priv.h:52:
In file included from ../include/ncurses_cfg.h:202:
../include/ncurses_def.h:5:2: error: unterminated conditional directive
#ifndef NC_DEFINE_H
^
/Users/davydden/spack/lib/spack/env/clang/clang -DHAVE_CONFIG_H -I.
-I/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses
-I../include
-I/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/../include
-D_DARWIN_C_SOURCE -DNDEBUG -fPIC -no-cpp-precomp --param
max-inline-insns-single=1200 -dynamic -c
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/base/lib_addch.c
-o ../obj_s/lib_addch.o
/Users/davydden/spack/lib/spack/env/clang/clang -DHAVE_CONFIG_H -I.
-I/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses
-I../include
-I/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/../include
-D_DARWIN_C_SOURCE -DNDEBUG -fPIC -no-cpp-precomp --param
max-inline-insns-single=1200 -dynamic -c
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/base/lib_addstr.c
-o ../obj_s/lib_addstr.o
clang: warning: argument unused during compilation: '--param
max-inline-insns-single=1200' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '--param
max-inline-insns-single=1200' [-Wunused-command-line-argument]
In file included from
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/tty/hardscroll.c:148:
In file included from ./curses.priv.h:56:
In file included from ../include/ncurses_cfg.h:202:
../include/ncurses_def.h:5:2: error: unterminated conditional directive
#ifndef NC_DEFINE_H
^
clang: warning: argument unused during compilation: '--param
max-inline-insns-single=1200' [-Wunused-command-line-argument]
In file included from
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/tty/hashmap.c:70:
In file included from ./curses.priv.h:56:
In file included from ../include/ncurses_cfg.h:202:
../include/ncurses_def.h:5:2: error: unterminated conditional directive
#ifndef NC_DEFINE_H
^
clang: warning: argument unused during compilation: '--param
max-inline-insns-single=1200' [-Wunused-command-line-argument]
In file included from
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/base/lib_addch.c:36:
In file included from ./curses.priv.h:56:
In file included from ../include/ncurses_cfg.h:202:
../include/ncurses_def.h:5:2: error: unterminated conditional directive
#ifndef NC_DEFINE_H
^
In file included from
/Users/davydden/spack/var/spack/stage/ncurses-6.0-kcgagcxwgv5jtbr3omi3v2nimkypq2nf/ncurses-6.0/ncurses/base/lib_addstr.c:45:
In file included from ./curses.priv.h:56:
In file included from ../include/ncurses_cfg.h:202:
../include/ncurses_def.h:5:2: error: unterminated conditional directive
#ifndef NC_DEFINE_H
^
1 error generated.
make[1]: *** [../obj_s/hardscroll.o] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[1]: *** [make_hash] Error 1
1 error generated.
make[1]: *** [../obj_s/hashmap.o] Error 1
1 error generated.
1 error generated.
make[1]: *** [../obj_s/lib_addch.o] Error 1
make[1]: *** [../obj_s/lib_addstr.o] Error 1
make: *** [all] Error 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6.0] fails to compile on macOS with Clang 8.1.0,
Denis Davydov <=