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 compiler warnings for Clang #438

Merged

Conversation

DimasfromLavoisier
Copy link
Collaborator

Added override and fixed typos for warning free compilation

@dokempf dokempf changed the title Alpha dev Fix compiler warnings for Clang Apr 25, 2024
Copy link
Collaborator

@dokempf dokempf 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, I left some comments.

if: runner.os == 'macOS'
run: |
brew update
brew install git
Copy link
Collaborator

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"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why was this necessary?

@@ -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);
Copy link
Collaborator

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?


- 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
Copy link
Collaborator

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).

@DimasfromLavoisier DimasfromLavoisier merged commit 4ed64c4 into 3dgeo-heidelberg:alpha-dev Apr 30, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants