[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling with tcc fails on regex.c since commit 56b32251
From: |
Benno Schulenberg |
Subject: |
compiling with tcc fails on regex.c since commit 56b32251 |
Date: |
Fri, 26 Nov 2021 15:41:36 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
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
OpenPGP_signature
Description: OpenPGP digital signature
- compiling with tcc fails on regex.c since commit 56b32251,
Benno Schulenberg <=