loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
553 stars 219 forks source link

error: self-comparison always evaluates to false #73

Open hcmila opened 4 years ago

hcmila commented 4 years ago

Toolchain path: .../esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: esp32-2019r1 Compiler version: 8.2.0

.../ESP32_TFT_library/components/spiffs/spiffs_nucleus.c:682:346: error: self-comparison always evaluates to false [-Werror=tautological-compare] SPIFFS_VALIDATE_OBJIX(objix->p_hdr, obj_id, objix->p_hdr.span_ix);

earosenfeld commented 4 years ago

I am getting the same error

zoon81 commented 4 years ago

Hi, I compiled yesterday, check my fork or check this commit. Some changes are made on ESP-IDF since this lib are published. This is why we get errors during compiling the demo. Let me known if you can't get successful build.

earosenfeld commented 4 years ago

Thank you for the commit, this fixed my issue. Your help is much appreciated.

AlexiLlaiho commented 4 years ago

Dear, zoon81! Thank you so much! You've saved my day:)