Problem with building Px4

Hi everyone! I downloaded from git source of px4 autopilot as was described here:

After that I want to build it with my board configuration (pixhawk1), before I installed a toolchain for it:
Toolchain I get with

I run " make px4_fmu-v2_default "

And when I build it with make, I had This:

…/…/platforms/common/include/px4_platform_common/atomic.h:169:34: error: parameter ‘expected’ set but not used [-Werror=unused-but-set-parameter]
inline bool compare_exchange(T *expected, T desired)
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
[473/735] Building CXX object src/modu…_commander.dir/mag_calibration.cpp.obj
ninja: build stopped: subcommand failed.

What I have to change in make or in cmake, for avoiding it?