-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Pragma ignored by 2018 version of xtensa compiler in BLERemoteService #3137
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
Comments
What compiler version is that? "2018 xtensa" doesn't mean much as a GCC version number. |
this is also tracked via this bug. |
xtensa-esp32-elf-cpp (crosstool-NG esp32-2018r1) 8.2.0 |
GCC 8.2.0 is not the supported version for this project which is still stuck on GCC 5.2.0 which is used by ESPIDF v3.2. GCC 8.x will be supported once ESPIDF v4 has reached a "stable" point. But I do agree, I can't see any reason why this bug in the GCC g++ compiler has not been fixed yet. As for this BLERemoteService.cpp fix, submit a PR to remove that pragma line entirely. |
Ok I submitted one here. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Description:
Describe your problem here
I am running the 2018 version of xtensa. When I was compiling my program it was unsuccessful, because of this line:
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
in BLERemoteService.cpp line 238.
I just changed it to 'warning' and moved it up the file and that fixed the problem for me.
The text was updated successfully, but these errors were encountered: