Public bug reported:
exuberant-ctags 1:5.9~svn20110310-20 : --regex-* is broken.
This is the version released with Ubuntu 26.04.
The runtime diagnostic from trying to use '--regex-make':
ctags: Warning: regex support not available; required for --regex-make
option
The autoconf 'configure' script incorrectly defines REGCOMP_BROKEN,
indicating that regex support is broken.
The underlying cause for this problem is that a more modern gcc (gcc-15
in this case) emits errors when attempting to compile the 'configure'
test program.
# warnings and notes from the following elided:
$ gcc -c tprog-0.c
tprog-0.c:50:1: error: return type defaults to ‘int’ [-Wimplicit-int]
50 | main() {
| ^~~~
tprog-0.c: In function ‘main’:
tprog-0.c:52:9: error: implicit declaration of function ‘exit’
[-Wimplicit-function-declaration]
52 | exit (regcomp (&patbuf, "/hello/", 0) != 0);
| ^~~~
Sure enough, changing to:
int main() {
and changing "exit" to "return":
return (regcomp (&patbuf, "/hello/", 0) != 0);
allows successful building of the test and resolves the issue.
This is not important to me, as I use 'universal-ctags'.
** Affects: exuberant-ctags (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158576
Title:
exuberant-ctags 1:5.9~svn20110310-20 : --regex-* is broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exuberant-ctags/+bug/2158576/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs