GNU Global and GTAGS can't find class definitions

后端 未结 2 1077
野性不改
野性不改 2021-02-10 07:14

I\'m having trouble getting global to find class/struct definitions. I can find them with exuberant ctags and with cscope. All tag files are built from the same source file list

2条回答
  •  北荒
    北荒 (楼主)
    2021-02-10 08:08

    Just export this variable and that should pretty much do. From the man page for gtags -

    GTAGSFORCECPP If this variable is set, each file whose suffix is 'h' is treated as a C++ source file.

提交回复
热议问题