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

Fix clang 13 pedantic warnings #2347

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

heplesser
Copy link
Contributor

This PR fixes warnings emitted by Clang 13 when run with -pedantic -Wextra -Woverloaded-virtual -Wno-unknown-pragmas -Wall. Almost all of the warnings point out that defining a copy constructor without an assignment operator is deprecated (see also https://stackoverflow.com/questions/51863588/warning-definition-of-implicit-copy-constructor-is-deprecated).

Note that building pynestkernel will issue lot's of warnings. This is Cython problem and reported there (cython/cython#4687).

@poojanbabu This may also be relevant for NESTML code generation, therefore I assign you as reviewer.

@heplesser heplesser added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Mar 17, 2022
@heplesser heplesser added this to PRs in progress in Kernel via automation Mar 17, 2022
@heplesser heplesser added this to To do in Models via automation Mar 17, 2022
Copy link
Contributor

@hakonsbm hakonsbm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Kernel automation moved this from PRs in progress to PRs approved Mar 18, 2022
Copy link
Contributor

@pnbabu pnbabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

@hakonsbm hakonsbm merged commit 40be5d3 into nest:master Mar 18, 2022
Kernel automation moved this from PRs approved to Done (PRs and issues) Mar 18, 2022
@heplesser heplesser deleted the fix-clang-13-pedantic-warnings branch April 20, 2022 11:47
@clinssen clinssen moved this from To do to Done in Models Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
Kernel
  
Done
Models
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants