Is it possible to display compiler warnings in Arduino?

前端 未结 5 681
伪装坚强ぢ
伪装坚强ぢ 2021-01-07 01:28

I would like the Arduino IDE to display compiler warnings, and I would rather not have to compile once in the terminal for warnings, and again through Arduino to generate th

5条回答
  •  伪装坚强ぢ
    2021-01-07 01:42

    Using Arduino IDE 1.6.4 and newer, the warning level can be easily adjusted via File > Preferences > Compiler warnings:.

    Using Arduino AVR Boards the compiler flags set via this option are:

    • "None": -w
    • "Default":
    • "More: -Wall
    • "All": -Wall -Wextra

提交回复
热议问题