Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: self-comparison always evaluates to false #73

Open
hcmila opened this issue Jul 7, 2019 · 4 comments
Open

error: self-comparison always evaluates to false #73

hcmila opened this issue Jul 7, 2019 · 4 comments

Comments

@hcmila
Copy link

hcmila commented Jul 7, 2019

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
Copy link

I am getting the same error

@zoon81
Copy link

zoon81 commented Jul 10, 2019

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
Copy link

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

@AlexiLlaiho
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants