disable warning only for specific compiler version (#19994)

This commit is contained in:
Jason2866 2023-11-12 19:01:41 +01:00 committed by GitHub
parent 5021b917da
commit 44ef425b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -25,7 +25,9 @@
// silence warning with Core3
#pragma GCC diagnostic push
#if defined(__GNUC__) && (__GNUC__ >= 10)
#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion"
#endif
#include "lvgl.h"
#pragma GCC diagnostic pop