-
Notifications
You must be signed in to change notification settings - Fork 44
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 compiler warnings for Clang #438
Fix compiler warnings for Clang #438
Conversation
34c6043
to
84c1316
Compare
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, I left some comments.
.github/workflows/ci.yml
Outdated
if: runner.os == 'macOS' | ||
run: | | ||
brew update | ||
brew install git |
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.
What is the reason for this? I don't think it is required?
@@ -45,12 +49,15 @@ jobs: | |||
activate-environment: helios-dev | |||
environment-file: environment-dev.yml | |||
python-version: ${{ matrix.python }} | |||
miniconda-version: "latest" |
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.
Why was this necessary?
src/pybinds/PyBeamDeflectorWrapper.h
Outdated
@@ -78,23 +78,23 @@ class PyBeamDeflectorWrapper{ | |||
inline std::string getOpticsType() const {return getOpticsType(0);} | |||
inline std::string getOpticsType(size_t const idx) const { | |||
try{ | |||
dynamic_cast<ConicBeamDeflector &>(beamDeflector); | |||
(void)dynamic_cast<ConicBeamDeflector &>(beamDeflector); |
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.
What is the warning related to this one?
.github/workflows/ci.yml
Outdated
|
||
- name: Install Helios | ||
run: | | ||
python -m pip install -v . | ||
|
||
- name: Run tests | ||
if: runner.os != 'macOS' # Skip tests on macOS for now | ||
#because of a bug in laz files |
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.
Please copy my entire comment from above - it is a bit more detailed about what goes wrong (we are writing corrupted LAZ).
4ed64c4
into
3dgeo-heidelberg:alpha-dev
Added override and fixed typos for warning free compilation