I just followed your instructions on Eclipse Juno, the only thing I had to do to get rid of all errors and warning was to set:
Properties -> C++ Build -> Discovery Option -> GCC C++ Compiler -> Compiler invocation command
to
arm-none-eabi-g++
and
Properties -> C++ Build -> Discovery Option -> GCC C Compiler -> Compiler invocation command
to
arm-none-eabi-gcc
I also added an external run configuration for dfu-util, so that I no longer need a DOS command window: