Hi,

Since commit 56b32251 from two months ago, I can no longer compile nano
with tcc.  It breaks on the regex module:

[...]
source='regex.c' object='regex.o' libtool=no \
DEPDIR=.deps depmode=tcc /bin/bash ../depcomp \
tcc -DHAVE_CONFIG_H -I. -I..   -D_GNU_SOURCE -D_DEFAULT_SOURCE
-I/usr/include/ncursesw   -g -O2 -Wall -c -o regex.o regex.c
In file included from regex.c:70:
./regex.h:682: error: '__nmatch' undeclared
Makefile:2143: recipe for target 'regex.o' failed
make[4]: *** [regex.o] Error 1
make[4]: Leaving directory '/home/ben/Sources/NANO/lib'
Makefile:2162: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
[...]

$ tcc -v
tcc version 0.9.27 (x86_64 Linux)

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to