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

[low priority] GCC warnings #34

Open
MatthieuSchaller opened this issue Jul 2, 2019 · 0 comments
Open

[low priority] GCC warnings #34

MatthieuSchaller opened this issue Jul 2, 2019 · 0 comments

Comments

@MatthieuSchaller
Copy link
Collaborator

Just spotted some warnings when compiling with GCC. Probably nothing but could be leading to something more nasty in the future:

/data1/matthieu/Velociraptor/VELOCIraptor-STF/stf/VELOCIraptor-STF/NBodylib/src/Math/GMatrix.h: In member function ‘Math::GMatrix Math::GMatrix::operator+(const Math::GMatrix&)’:
/data1/matthieu/Velociraptor/VELOCIraptor-STF/stf/VELOCIraptor-STF/NBodylib/src/Math/GMatrix.h:155:5: warning: control reaches end of non-void function [-Wreturn-type]
     }

and

/data1/matthieu/Velociraptor/VELOCIraptor-STF/stf/VELOCIraptor-STF/src/mpiroutines.cxx: In function ‘int MPIGetParticlesProcessor(Double_t, Double_t, Double_t)’:
/data1/matthieu/Velociraptor/VELOCIraptor-STF/stf/VELOCIraptor-STF/src/mpiroutines.cxx:229:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/data1/matthieu/Velociraptor/VELOCIraptor-STF/stf/VELOCIraptor-STF/src/substructureproperties.cxx: In function ‘double mycNFW_fdf(double, void*, double*, double*)’:
/data1/matthieu/Velociraptor/VELOCIraptor-STF/stf/VELOCIraptor-STF/src/substructureproperties.cxx:4287:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^

The MPI one could be worth investigating since we touched upon MPI-ranks related problem lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant