Fixed gcc-related build problem resulting from `-errwarn=%all` switch. Fixes #3012.
Attach a file by drag & drop or click to upload