Hi,

last week I had some problems with semantic and the include statements in my .cpp and .h files, many of the includes were not being found and analyzed by semantics

After several tries I noticed that after changing from #include <statement> to the respective #include "statement", everything started to work as expected. Is this a normal behavior? Or maybe is it related to how I defined the project using ede-cpp-root-project?

My definition is:

(ede-cpp-root-project "FLANN"
                :name "Flann1.8"
                :file "/home/carrenom/Documents/PhD/Code/Kd-Trees_NNS/Flann/CMakeLists.txt"
:include-path '("/test"
                                "/examples"
"/src/cpp/flann"
"/src/cpp/flann/algorithms"
                                "/src/cpp/flann/io"
"/src/cpp/flann/mpi"
"/src/cpp/flann/nn"
"/src/cpp/flann/util"
                               )
                :system-include-path '("/usr/include/" "/usr/include/c++/4.7/")
                :spp-table '(("isUnix" . "")
                             ("BOOST_TEST_DYN_LINK" . "")))


An example of the behaviour I am talking about 

//#include <flann/flann.h>                           NOT OK TO SEMANTIC
//#include <flann/io/hdf5.h>                        NOT OK TO SEMANTIC
#include "../src/cpp/flann/flann.h"                OK TO SEMANTIC
#include "../src/cpp/flann/io/hdf5.h"             OK TO SEMANTIC


Also I would like to know how semantic visits and analyze all the includes in the source code.

Regards,

Pamela Carreno