bugTiny C Compiler - Bugs: bug #66118, Compile error when including...

 
 

bug #66118: Compile error when including regex.h

Submitter:  None
Submitted:  Wed 21 Aug 2024 09:29:43 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 21 Aug 2024 11:20:08 AM UTC, comment #1: 

# gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
# tcc --version
tcc version 0.9.27 (x86_64 Linux)
# tcc /tmp/test.c

# tcc --version
tcc version 0.9.27 (x86_64 Linux)
# gcc --version
gcc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
# tcc --version
tcc version 0.9.27 (x86_64 Linux)
# tcc /tmp/test.c
In file included from /tmp/test.c:6:
/usr/include/regex.h:682: error: '__nmatch' undeclared
#

compile with libgcc 10.2, no compile with libgcc 12.2

Anonymous
Wed 21 Aug 2024 09:29:43 AM UTC, original submission:  

$ gcc -Wall ./test.c
$ tcc -Wall ./test.c
In file included from ./test.c:5:
/usr/include/regex.h:682: error: '__nmatch' undeclared
$

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #56373:  test.c added by None (1019B - text/x-csrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2024-08-21 None Attached File- Added test.c, #56373

Back to the top

Powered by Savane 3.13-4b4b.
Corresponding source code