Building code on ubuntu16.04.3 problem

I have some problems while building code at ubuntu16.04.3 but it show me some massages please need some help I think my ARM GCC is 7.2

Compiling main.cpp
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/skyyu/sapog/firmware/src/main.cpp:223:3: error: #error “This compiler is not supported”

error “This compiler is not supported”

zubax_chibios///chibios/os/common/ports/ARMCMx/compilers/GCC/ recipe for target ‘build/obj/main.o’ failed
make: *** [build/obj/main.o] Error 1

Either your compiler is not GCC 7.2, or you’re not building the latest version of Sapog.