Eclipse CDT and compiler each have separate settings
Red marks in CDT -> Eclipse setting needs update
For compiling -> Tricky statement so read careful : The setting in makefile is the input for compiling. There are defaults and you can update them in makefile. However, most of the defaults will be updated to the eclipse settings.
So if I am correct :
- if set specific in makefile -> used
- if set in eclipse -> used if not the above
- use default from makefile