-
Notifications
You must be signed in to change notification settings - Fork 578
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
Panzer: fix clang warnings #4058
Panzer: fix clang warnings #4058
Conversation
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.
Match 'struct' forward declaration and 'struct' definition? Need 'override' for some reason? Okay!
@@ -46,7 +46,7 @@ | |||
namespace panzer | |||
{ | |||
template <typename LO, typename GO> | |||
class LocalMeshInfo; | |||
struct LocalMeshInfo; |
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.
Is the actually type a 'struct' and not a 'class'?
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.
yes - clang picked up on the fact that the object was a "struct" but some files had forward declarations using "class". I just cleaned up all the forward declares.
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.
cortado > grep warning out | sort | uniq
1 warning generated.
3 warnings generated.
../EMPIRE-PIC/src/StepperOpSpObserver.hpp:70:16: warning: 'empire::StepperOpSpObserver<double>::observeBeforeStepper' hides overloaded virtual function [-Woverloaded-virtual]
../EMPIRE-PIC/src/StepperOpSpObserver.hpp:75:16: warning: 'empire::StepperOpSpObserver<double>::observeAfterStepper' hides overloaded virtual function [-Woverloaded-virtual]
/projects/empire/install-for-panzer/CLANG-3.9.0-RELEASE-SERIAL-STATIC/include/stk_io/FieldAndName.hpp:119:18: warning: private field 'm_location' is not used [-Wunused-private-field]
../src/emStepperOpSpObserver.hpp:70:16: warning: 'empire::em::StepperOpSpObserver<double>::observeBeforeStepper' hides overloaded virtual function [-Woverloaded-virtual]
../src/emStepperOpSpObserver.hpp:75:16: warning: 'empire::em::StepperOpSpObserver<double>::observeAfterStepper' hides overloaded virtual function [-Woverloaded-virtual]
cortado >
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: Trilinos_pullrequest_intel_17.0.1
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.8.4
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL
Jenkins Parameters
Using Repos:
Pull Request Author: rppawlo |
Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED Pull Request Auto Testing has PASSED (click to expand)Build InformationTest Name: Trilinos_pullrequest_intel_17.0.1
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.8.4
Jenkins Parameters
Build InformationTest Name: Trilinos_pullrequest_gcc_4.9.3_SERIAL
Jenkins Parameters
|
Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ bartlettroscoe bathmatt ]! |
Status Flag 'Pull Request AutoTester' - Pull Request will be Automerged |
Merge on Pull Request# 4058: IS A SUCCESS - Pull Request successfully merged |
fixing clang warnings requested by empire