It seems that the latest patch also includes a problem.
$ cat -n test.cpp
1 class a : public b {
2 };
[global-6.3.3]
$ gtags
$ global -f test.cpp
a 1 test.cpp class a : public b {
$ global -frs test.cpp
b 1 test.cpp class a : public b {
[global-6.3.3+patch]
$ gtags
$ global -f test.cpp
$ global -frs test.cpp
a 1 test.cpp class a : public b {
b 1 test.cpp class a : public b {
It seems to be much difficult more than we probably thought of
this issue. How about taking the method that Julien proposed?
It seems to be safer.
Shigio