fix(conf): work around GCC bug (#3082)

Fixes #3078
This commit is contained in:
embeddedt
2022-02-11 09:25:44 -05:00
committed by GitHub
parent e7736f2c32
commit c6b34bc85b
3 changed files with 12 additions and 0 deletions

View File

@@ -57,6 +57,11 @@ fout.write(
#else
#include "../../lv_conf.h" /*Else assume lv_conf.h is next to the lvgl folder*/
#endif
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
/* #include will sometimes silently fail when __has_include is used */
/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753 */
#pragma message("Possible failure to include lv_conf.h, please read the comment in this file if you get errors")
#endif
#endif
#ifdef CONFIG_LV_COLOR_DEPTH