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)

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to