Skip to content

Remove as much warnings as possible #63

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jim-bcom
Copy link
Contributor

@jim-bcom jim-bcom commented Jun 21, 2023

Project goes rom 200+ warnings to 7 due to tools and third parties, 0 warning on project sources.

  • remove unused parameters warnings by commenting the parameter name
  • remove reorder warning by matching init order with declaration order
  • remove make "jobserver unavailable" warning by using $(MAKE) i.o. make in .pro file
  • fixed actual issues (e.g. missing return statement)
  • also uses XPCF MACROs for attributes so that we can disable them at once and remove GCC warnings on ignored atributes.

@jim-bcom jim-bcom self-assigned this Jun 21, 2023
Project goes rom 200+ warnings to 7 due to tools and third parties, 0 warning on
project sources.

- remove unused parameters warnings by commenting the parameter name
- remove reorder warning by matching init order with declaration order
- remove make "jobserver unavailable" warning by using $(MAKE) i.e. make in .pro file
- fixed actual issues (e.g. missing return statement)
- also uses XPCF MACROs for attributes so that we can disable them at once and remove GCC
warnings on ignored atributes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant