Skip to content

Fix compiler warnings for containers and nvcc

Some additional warnings occur in gitlab CI (using docker containers) and when compiling .cu files with -Wall. This MR will fix those.

Many of them relate to the linker/installation and aren't compiler warnings. I've tried enabling Werror for gcc and it builds despite messages such as:
/usr/bin/ld: warning: /usr/spiir/lib/libgcc_s.so.1: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001

Check the pipeline job for more details: https://git.ligo.org/lscsoft/spiir/-/jobs/2343826

Tests

Runs here: /fred/oz016/tdavies/projects/testing/run_tdavies__fix_additional_compiler_warnings/

I've built in Ozstar, CIT, and the pipeline above. Only the pipeline has warnings, which don't block the build with Werror enabled.

Related to #15 (closed).

Edited by Timothy Davies

Merge request reports