6
submitted 2 months ago by [email protected] to c/[email protected]

TCC fails with GNU's regex.h:

echo '
                                              #include <regex.h>

                                              int main() { return 0; }' | tcc - -run
In file included from -:2:
/usr/include/regex.h:682: error: '__nmatch' undeclared

Would building it from source fix the issue? I know from my experience that Pop_OS! apt repositories are not very up-to-date with smaller apps. For example, NekoVM is from 2017, the latest one is from 22 I believe.

top 2 comments
sorted by: hot top controversial new old
[-] [email protected] 1 points 2 months ago

I thought tcc wasn't developed anymore?

[-] [email protected] 0 points 2 months ago

I think forks of it are being developed. I found a fork under active development, but I can't seem to find it.

this post was submitted on 14 May 2024
6 points (80.0% liked)

C Programming Language

931 readers
7 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

🌐 https://en.cppreference.com/w/c

founded 1 year ago
MODERATORS