-
Notifications
You must be signed in to change notification settings - Fork 564
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
Stratimikos, Piro, Panzer: Silence warnings #13365
Conversation
Signed-off-by: Christian Glusa <[email protected]>
Signed-off-by: Christian Glusa <[email protected]>
Signed-off-by: Christian Glusa <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @cgcgcg !
Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection is Not Necessary for this Pull Request. |
Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects: Pull Request Auto Testing STARTING (click to expand)Build InformationTest Name: PR_gcc-openmpi-openmp
Jenkins Parameters
Build InformationTest Name: PR_gcc
Jenkins Parameters
Build InformationTest Name: PR_gcc-openmpi_debug
Jenkins Parameters
Build InformationTest Name: PR_clang
Jenkins Parameters
Build InformationTest Name: Trilinos_PR_python3
Jenkins Parameters
Build InformationTest Name: PR_cuda
Jenkins Parameters
Build InformationTest Name: PR_intel
Jenkins Parameters
Build InformationTest Name: PR_cuda-uvm
Jenkins Parameters
Using Repos:
Pull Request Author: cgcgcg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Just curious, but what compilers/builds were emitting these warnings? Why did the -Werror
PR build not show these warnings?
@@ -88,7 +88,7 @@ LinearSolverBuilder<Scalar>::LinearSolverBuilder( | |||
|
|||
|
|||
template<class Scalar> | |||
LinearSolverBuilder<Scalar>::~LinearSolverBuilder<Scalar>() | |||
LinearSolverBuilder<Scalar>::~LinearSolverBuilder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@bartlettroscoe I built with Trilinos/packages/framework/ini-files/config-specs.ini Lines 1740 to 1763 in bf922e7
If someone from @trilinos/framework can confirm that that's the right spot to make modifications, I can remove the exceptions for Stratimikos and Piro. (I still see a Panzer warning coming in through ROL.) |
@cgcgcg, how did you think to build with these compiler flags? Was a user complaining about these warnings? Many of these warnings are not in header files so end users pulling in header files from Trilinos would not have seen those. Just curious.
My guess is that there were a lot of shadow warnings in Trilinos and in order to get |
Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED Pull Request Auto Testing has PASSED (click to expand)Build InformationTest Name: PR_gcc-openmpi-openmp
Jenkins Parameters
Build InformationTest Name: PR_gcc
Jenkins Parameters
Build InformationTest Name: PR_gcc-openmpi_debug
Jenkins Parameters
Build InformationTest Name: PR_clang
Jenkins Parameters
Build InformationTest Name: Trilinos_PR_python3
Jenkins Parameters
Build InformationTest Name: PR_cuda
Jenkins Parameters
Build InformationTest Name: PR_intel
Jenkins Parameters
Build InformationTest Name: PR_cuda-uvm
Jenkins Parameters
|
Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ rppawlo bartlettroscoe ]! |
Status Flag 'Pull Request AutoTester' - AutoMerge IS ENABLED, but the Label AT: AUTOMERGE is not set. Either set Label AT: AUTOMERGE or manually merge the PR... |
@bartlettroscoe is correct about why those are all in there. Remove them at will, the PR system should prevent issues from going in. As to how your previous PR caused the issues, I'm not certain. I can try to diagnose, but will likely take me some time. Short answer is that as we turn on more warning flags (and stop allowing exceptions), this issue should rapidly become irrelevant. |
@trilinos/stratimikos @trilinos/panzer
Motivation
Silence some warnings (Shadowed variables, unused typedefs).