gnu global, getting gtags to treat .h files as C++

 | March 25, 2013 3:31 am

I’m still experimenting with tagging in Emacs.  I think my current favorite is using gnu-global.

Unfortunately I just joined a team where all their c++ header files start with .h.  By default gnu-global treats these as c, and results are poor.  While I think there’s a more sophisticated way to handle the problem, I just use:

export GTAGSFORCECPP=””

Share on Facebook

One Response to “gnu global, getting gtags to treat .h files as C++”

Joshua wrote a comment on August 21, 2013

That is extremely helpful, thanks!

Care to comment?