mirror of https://github.com/arendst/Tasmota.git
disable warning only for specific compiler version (#19994)
This commit is contained in:
parent
5021b917da
commit
44ef425b89
|
@ -25,7 +25,9 @@
|
||||||
|
|
||||||
// silence warning with Core3
|
// silence warning with Core3
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ >= 10)
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"
|
#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"
|
||||||
|
#endif
|
||||||
#include "lvgl.h"
|
#include "lvgl.h"
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue