gavalian / hipo

High Performance Output Data format for experimental Physics
2 stars 9 forks source link

Transition to meson #60

Closed gavalian closed 1 week ago

gavalian commented 2 months ago

Meson on macOS generates warnings: warning: unknown warning option '-Wno-stringop-overflow'; did you mean '-Wno-shift-overflow'? [-Wunknown-warning-option]

Also, need to get rid of sprintf - it's deprecated (at least on macOS)

c-dilks commented 2 months ago

We don't get these sort of warnings on ifarm; relevant version numbers:

Meson Version: 1.3.2
C++ compiler for the host machine: c++ (gcc 11.4.1 "c++ (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)")
C++ linker for the host machine: c++ ld.bfd 2.35.2-43
Host machine cpu family: x86_64
Host machine cpu: x86_64
Fortran compiler for the host machine: gfortran (gcc 11.4.1 "GNU Fortran (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)")
Fortran linker for the host machine: gfortran ld.bfd 2.35.2-43
c-dilks commented 1 month ago

Ah, clang++ reports these errors, whereas g++ does not:

warning: unknown warning option '-Wno-stringop-overflow'; did you mean '-Wno-shift-overflow'? [-Wunknown-warning-option]