Skip to content

v2.10: Fix a dependency node issue that I was able to reproduce like this:

Compare
Choose a tag to compare
@casch-at casch-at released this 14 Oct 11:38
· 830 commits to master since this release
source.cpp:

int foo()
{
    return Foo;
}
forward.h:

header.h:

enum { Foo = 1 };

CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
include_directories(${CMAKE_CURRENT_LIST_DIR})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
add_library(app source.cpp)

rc -W $PWD; rc -w "indexing project. all good"; sleep 1; rc -J; sleep 1; rc -w "moving file away"; sleep 1; mv forward.h /tmp/; sleep 1; touch source.cpp ; sleep 1; rc -w "moving file back"; sleep 1; mv /tmp/forward.h .; sleep 1
; touch source.cpp; rc -w "touching header.h should reindex"; touch header.h