How to compile without warnings being treated as errors?

前端 未结 7 2187
迷失自我
迷失自我 2020-12-07 14:27

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          


        
7条回答
  •  眼角桃花
    2020-12-07 14:56

    -Wall and -Werror compiler options can cause it, please check if those are used in compiler settings.

提交回复
热议问题