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

Guard STATUS_QIE_BIT definition to ESP32/ESP32S2 #501

Closed
wants to merge 1 commit into from

Conversation

paravoid
Copy link
Contributor

@paravoid paravoid commented Jan 6, 2020

Only used there, which causes a "defined but not used"
(-Wunused-const-variable) compiler error in newer versions of GCC.

Rather than disable what is otherwise a useful compiler warning, make
the definition conditional to the ESP32s.

See #499 for context.

Only used there, which causes a "defined but not used"
(-Wunused-const-variable) compiler error in newer versions of GCC.

Rather than disable what is otherwise a useful compiler warning, make
the definition conditional to the ESP32s.

See espressif#499 for context.
@projectgus
Copy link
Contributor

Hi @paravoid ,

Thanks for this, change LGTM and good to know we can build the stub on gcc 9 with no other warnings.

I've cherry-picked your commit into our internal review & merge queue, this PR will be updated when it merges.

Angus

antmak pushed a commit that referenced this pull request Jan 15, 2020
Only used there, which causes a "defined but not used"
(-Wunused-const-variable) compiler error in newer versions of GCC.

Rather than disable what is otherwise a useful compiler warning, make
the definition conditional to the ESP32s.

See #499 for context.

Merges #501
@projectgus
Copy link
Contributor

Cherry-picked, thanks again @paravoid !

@projectgus projectgus closed this Jan 15, 2020
dobairoland pushed a commit to espressif/esptool-legacy-flasher-stub that referenced this pull request May 30, 2024
Only used there, which causes a "defined but not used"
(-Wunused-const-variable) compiler error in newer versions of GCC.

Rather than disable what is otherwise a useful compiler warning, make
the definition conditional to the ESP32s.

See #499 for context.

Merges espressif/esptool#501
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

Successfully merging this pull request may close these issues.

2 participants