The problem is that the same code that compiles well on Windows, is unable to compile on Ubuntu. Every time I get this error:
cc1: warnings being treated as
-Wall and -Werror compiler options can cause it, please check if those are used in compiler settings.
-Wall
-Werror