I spent most of the day setting up eclipse with statet plugin to build Rcpp packages. Many mistakes, and retries. I think I've nearly got it now.
The problem is that in a package that I wrote some time ago (using stone knives and clubs for development) I have used std::unique_ptr which is not being resolved by the code checker in eclipse. I have the following include directories already provided in the configuration:
C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include
C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include-fixed
C:/Rtools/mingw_64/x86_64-w64-mingw32/include
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/backward
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32
I can see stdlib.h in C:/Rtools/mingw_64/x86_64-w64-mingw32/include So, I thought all would be good.