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

More CMake changes and less warnings #336

Merged
merged 1 commit into from
Apr 7, 2022
Merged

Conversation

haenkel
Copy link
Contributor

@haenkel haenkel commented Apr 6, 2022

  • remove juce_recommended_warning_flags
    This otherwise builds with -Wall -Wextra which shows a lot of less- or unimportant
    warnings with the important ones lost inbetween, plus you can not supress warnings.
  • move recommended lto and config flags to public as per juce recomendation
  • fix a few warnings
  • update tuningui submodule

In total this brings the 2k+ displayed warnings down to managable 28
which are a few deprecated-declarations and two unused values.

  • add configurable option to add or supress warnings to CMakeLists.txt
    turned on as an example for linux, which in this example supresses the remaining warnings
    while newly introduced warnings will error.

- remove `juce_recommended_warning_flags`
  This otherwise builds with `-Wall -Wextra` which shows a lot of less- or unimportant
  warnings with the important ones lost inbetween, plus you can not supress warnings.
- move recommended lto and config flags to public as per juce recomendation
- fix a few warnings
- update tuningui submodule

In total this brings the 2k+ displayed warnings down to managable 28
which are a few deprecated-declarations and two unused values.

- add configurable option to add or supress warnings to CMakeLists.txt
  turned on as an example for linux, which in this example supresses the remaining warnings
  while newly introduced warnings will error.
@asb2m10 asb2m10 merged commit 764db74 into asb2m10:master Apr 7, 2022
@haenkel haenkel deleted the cmakewarn branch April 7, 2022 09:50
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