Andersbakken / rtags

A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang.
http://www.rtags.net
GNU General Public License v3.0
1.83k stars 253 forks source link

Using man-in-the-middle hack makes rdm delete all projects #1122

Open chep opened 6 years ago

chep commented 6 years ago

Please mark appropriate

Problem description

I use CMake really often and it works like a charm. For some projects with only classic makefiles I use gcc-rtags-wrapper.sh but it seems to delete all the projects.

Actual behavior

If I run: rc -w I see all my cmake projects added via 'rc -J .' Then I change my PATH to add the directory with symbolic links to gcc-rtags-wrapper.sh: export PATH=/home/chep/binRtags:$PATH And run 'make' in my project directory (not using cmake). After this, 'rc -w' does not show anything anymore. My project is indexed but all others have disappeared. If I kill rdm and restart it, 'rc -w' shows only one project (the last one) and I have to re-run 'rc -J .' for all cmake projects.

Environment

Feature request

Describe the feature we should add to RTags.

sthfrnth commented 6 years ago

Same issue as mine. #1119.