-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
GCC 8 new compiler warnings causing build to fail #11410
Comments
Currently we're using GCC 7 in the CI system and as the only supported compiler version. You'll need to either fix these small issues (or disable the warnings) or switch to the GCC version in the documentation. We'll need to fix these warnings eventually when we upgrade the toolchain, but we only do that as needed (it's a huge testing effort). |
I'll try to fix the cmake warnings (they go away if you upgrade cmake). |
@dagar thanks for looking into it. However, my problem aren't the cmake warnings: The compiler I'm using is |
OK, I tried compiling with gcc 7.3 and this produced a working binary. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing as stale. |
JFYI The exact same error is reproducible with any ARM GCC 8 version on Windows. Latest working version in my tests is |
Same as #12814. |
Describe the bug
When running
make px4_fmu-v4_default
I get the following error:To Reproduce
Running the following on my Arch linux:
I tried the same with v1.9.0-beta1 (
git checkout v1.9.0-beta1
), with the same result.Expected behavior
It should compile.
Log Files and Screenshots
The text was updated successfully, but these errors were encountered: