JCSDA-internal / ioda-converters

Various converters for getting obs data in and out of IODA
8 stars 2 forks source link

Compiler flags change for less warnings and easier debugging #1476

Closed PatNichols closed 4 months ago

PatNichols commented 4 months ago

Description

This PR changes the compiler flags for compiling ioda-converters 1). eliminates libunwind from the gnu fortran compiler when compiing with clang c++ to cut down on compiler warnings that may confuse the user.

ld: warning: could not create compact unwind for _qg_error_covariance_mod_MOD_qg_error_covariancesetup: stack subq instruction is too different from dwarf stack size ld: warning: could not create compact unwind for qg_fields_mod_MOD_qg_fields_read_file: stack subq instruction is too different from dwarf stack size ld: warning: could not create compact unwind for _qg_fields_mod_MOD_qg_fields_writefile: stack subq instruction is too different from dwarf stack size ld: warning: could not create compact unwind for qg_obsdb_mod_MOD_qg_obsdb_setup: stack subq instruction is too different from dwarf stack size

2) add in flags for gdb for the debug build type for non macos systems so that when debugging one doesn't need to do this manually.

This will be added to other repos piecemeal

Issue(s) addressed

Resolves #1473

Dependencies

None

Impact

None

Checklist