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

Added many more warning flags and fixed resulting warnings #53

Merged
merged 14 commits into from
Jul 28, 2020

Conversation

orgarten
Copy link
Collaborator

Status

READY

Description

  1. I added warnings according to this example. The resulting warnings in the code have been fixed and the tests now build without any of the enabled warnings.
    I also moved the warnings from the global CMakeLists.txt to the on in tests, because the library itself is not being compiled and we do not want to bleed all the warnings into people using the library.

  2. I added a library target of type INTERFACE which allows for much easier inclusion.

  3. While updating doctest, I also updated madmann91/bvh which introduced some minor changes. I fixed our benchmarks accordingly

Type of Change

  • bug fix
  • new features
  • documentation
  • other

Checklist

  • I have run the provided clang-format
  • I have reviewed my code and commented if necessary
  • I have added the appropriate documentation
  • I have added tests to my new code
  • All tests pass locally

@orgarten orgarten added the enhancement New feature or request label Jul 28, 2020
@cstatz cstatz merged commit 4802bd6 into develop Jul 28, 2020
@cstatz cstatz deleted the features/more_warnings branch July 28, 2020 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Add more warnings to compile options to increase code quality
2 participants