tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] FYI: tcc and glibc 2.35 may bite


From: Steffen Nurpmeso
Subject: [Tinycc-devel] FYI: tcc and glibc 2.35 may bite
Date: Sat, 19 Feb 2022 21:47:40 +0100
User-agent: s-nail v14.9.23-233-gc02d5a13cc

Hello!

Compiling my MUA with tcc [mob] fails with glibc 2.35.

  @CC tcc -Dmx_SOURCE -I./ -I/home/steffen/src/nail.git/include -I/tmp/.nail/y 
-I/home/steffen/src/nail.git/include/ -I/home/steffen/src/nail.git/src/ 
-I/usr/local/include -W -Wall -Wextra -pedantic -g -Wl,-rpath=/usr/local/lib 
-Wl,--enable-new-dtags -Wl,-rpath=/usr/local/lib 
-Werror=implicit-function-declaration -o /tmp/.nail/y/___tmp1_12941 
/tmp/.nail/y/___tmp1_12941.c -L/usr/local/lib -lssl -lcrypto -lgssapi_krb5 
-lkrb5 -lk5crypto -lcom_err -lidn
  In file included from /tmp/.nail/y/___tmp1_12941.c:2:
  /usr/include/regex.h:682: error: '__nmatch' undeclared
  @ no
  @ ERROR: feature OPT_REGEX is required but not available

This is

  extern int regexec (const regex_t *_Restrict_ __preg,
                      const char *_Restrict_ __String, size_t __nmatch,
                      regmatch_t __pmatch[_Restrict_arr_
                                          _REGEX_NELTS (__nmatch)],
                      int __eflags);

->

  #ifndef _REGEX_NELTS
  # if (defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__ \
          && !defined __STDC_NO_VLA__)
  #  define _REGEX_NELTS(n) n
  # else
  #  define _REGEX_NELTS(n)
  # endif
  #endif

Ciao,

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]