Revert "rt-tests: Makefile: ctags: Change obsolete extra to extras"
PATCH 1/1 Revert "rt-tests: Makefile: ctags: Change obsolete extra to extras"
Commit 974241c78a6f ("rt-tests: Makefile: ctags: Change obsolete extra to extras") not only broke the generation of tags files -- at least for exuberant ctags version 5.9 as shipped in Debian -- but it also added -Wextra to CFLAGS, leading to many warnings.
Simply revert the commit to undo the unintended change and unbreak ctags file generation.
--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
@@ -30,7 +30,7 @@ prefix ?= /usr/local bindir ?= $(prefix)/bin mandir ?= $(prefix)/share/man -CFLAGS ?= -Wall -Wno-nonnull -Wextra +CFLAGS ?= -Wall -Wno-nonnull CPPFLAGS += -D_GNU_SOURCE -Isrc/include LDFLAGS ?=
@@ -253,4 +253,4 @@ help: .PHONY: tags tags: - ctags -R --extras=+f --c-kinds=+p --exclude=tmp --exclude=BUILD * + ctags -R --extra=+f --c-kinds=+p --exclude=tmp --exclude=BUILD *
Signature · 1 line
2.30.2
Quoted 27 lines · Mathias Krause
Commit
974241c78a6f("rt-tests:Makefile: ctags: Change obsolete extra to extras") not only broke the generation of tags files -- at least for exuberant ctags version 5.9 as shipped in Debian -- but it also added -Wextra to CFLAGS, leading to many warnings.Simply revert the commit to undo the unintended change and unbreak ctags file generation.
Signed-off-by Mathias Krause <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +1
-1@@ -30,7 +30,7 @@ prefix ?= /usr/local bindir ?= $(prefix)/bin mandir ?= $(prefix)/share/man -CFLAGS ?= -Wall -Wno-nonnull -Wextra +CFLAGS ?= -Wall -Wno-nonnull CPPFLAGS += -D_GNU_SOURCE -Isrc/include LDFLAGS ?=
Makefile help: · line 256
Quoted 5 lines
Makefile +1
-1@@ -253,4 +253,4 @@ help: .PHONY: tags tags: - ctags -R --extras=+f --c-kinds=+p --exclude=tmp --exclude=BUILD * + ctags -R --extra=+f --c-kinds=+p --exclude=tmp --exclude=BUILD *
Ping?
Can this be merged to fix ctags, at least?:
minipli@bell:~/src/upstream/rt-tests ((v2.6))$ make tags
ctags -R --extras=+f --c-kinds=+p --exclude=tmp --exclude=BUILD *
ctags: Unknown option: --extras
make: *** [Makefile:256: tags] Fehler 1 minipli@bell:~/src/upstream/rt-tests ((v2.6))$ ctags --version Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
Addresses: <[email protected]>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex
Thanks,
Mathias
Quoted 37 lines · Mathias Krause
Quoted 27 lines · Mathias Krause
Commit
974241c78a6f("rt-tests:Makefile: ctags: Change obsolete extra to extras") not only broke the generation of tags files -- at least for exuberant ctags version 5.9 as shipped in Debian -- but it also added -Wextra to CFLAGS, leading to many warnings.Simply revert the commit to undo the unintended change and unbreak ctags file generation.
Signed-off-by Mathias Krause <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +1
-1@@ -30,7 +30,7 @@ prefix ?= /usr/local bindir ?= $(prefix)/bin mandir ?= $(prefix)/share/man -CFLAGS ?= -Wall -Wno-nonnull -Wextra +CFLAGS ?= -Wall -Wno-nonnull CPPFLAGS += -D_GNU_SOURCE -Isrc/include LDFLAGS ?=Makefile help: · line 256
Quoted 5 lines
Makefile +1
-1@@ -253,4 +253,4 @@ help: .PHONY: tags tags: - ctags -R --extras=+f --c-kinds=+p --exclude=tmp --exclude=BUILD * + ctags -R --extra=+f --c-kinds=+p --exclude=tmp --exclude=BUILD *Ping?
Quoted 1 line
Can this be merged to fix ctags, at least?:
Sorry, but the problem is that Debian is using an
old version of ctags. You can either just edit the Makefile to build on Debian, or compile a more modern version of ctags by hand, I'm sure there are some other solutions as well.
As for the warnings, we want to see those. People including myself have sent in patches to fix the cause of the warnings, but simply hiding them isn't the solution.
Thanks
John
Quoted 38 lines · John Kacur
Quoted 37 lines · Mathias Krause
Quoted 27 lines · Mathias Krause
Commit
974241c78a6f("rt-tests:Makefile: ctags: Change obsolete extra to extras") not only broke the generation of tags files -- at least for exuberant ctags version 5.9 as shipped in Debian -- but it also added -Wextra to CFLAGS, leading to many warnings.Simply revert the commit to undo the unintended change and unbreak ctags file generation.
Signed-off-by Mathias Krause <[email protected]>--- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Makefile +1
-1@@ -30,7 +30,7 @@ prefix ?= /usr/local bindir ?= $(prefix)/bin mandir ?= $(prefix)/share/man -CFLAGS ?= -Wall -Wno-nonnull -Wextra +CFLAGS ?= -Wall -Wno-nonnull CPPFLAGS += -D_GNU_SOURCE -Isrc/include LDFLAGS ?=Makefile help: · line 256
Quoted 5 lines
Makefile +1
-1@@ -253,4 +253,4 @@ help: .PHONY: tags tags: - ctags -R --extras=+f --c-kinds=+p --exclude=tmp --exclude=BUILD * + ctags -R --extra=+f --c-kinds=+p --exclude=tmp --exclude=BUILD *Ping?
Quoted 6 lines
Quoted 1 line
Can this be merged to fix ctags, at least?:
Sorry, but the problem is that Debian is using an
old version of ctags. You can either just edit theMakefileto build on Debian, or compile a more modern version of ctags by hand, I'm sure there are some other solutions as well.
Ah, I see. It's an incompatibility between Exuberant and Universal Ctags. I'll sent a patch restoring support for the former in a moment.
Quoted 4 lines
As for the warnings, we want to see those. People including myself have sent in patches to fix the cause of the warnings, but simply hiding them isn't the solution.
I see. I just noticed that ctags broke on me, dug up the offending commit and saw the unintended(?, at least unmentioned) change to CFLAGS. But fair enough, I'll leave it to you to fix up the warnings ;)
Thanks,
Mathias