ESP32 Forum
ESP32 Official Forum
http://forum.esp32.com/
Global disable warnings as errors
http://forum.esp32.com/viewtopic.php?f=2&t=21701
Page
1
of
1
Global disable warnings as errors
Posted:
Mon Jun 28, 2021 2:34 pm
by
kbaud1
There is a way to do it on a per library basis:
viewtopic.php?t=17724
but, is there a way to do it globally?
Re: Global disable warnings as errors
Posted:
Mon Jun 28, 2021 2:36 pm
by
kbaud1
Ah, this does it:
_Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")