G++ version 4.9 or above (tested with 5.2.1 on openSUSE, and Ubuntu 15.10)

Eclipse Mars
C/C++ Build / Settings / GCC C++ Compiler / Dialect -->  ISO C++11 (-std=c++0x)
C/C++ Build / Settings / GCC C++ Compiler / Miscellaneous / Other flags -->  -fpermissive
C/C++ Build / Settings / GCC C++ Linker / Libraries / [Click + to add] -->  dl
C/C++ General / Preprocessor Include Paths, Macros etc. / Providers (tab) / CDT GCC Built-in Compiler Settings [Shared] --> Uncheck "Use global provider shared between projects"
