Skip to content

always build in debug mode with sanitizers + increase compiler warning levels #169

@superwhiskers

Description

@superwhiskers

currently, the usage of address sanitizer is gated behind RESOLVE_USE_ASAN. as suggested in another pull request i propose we:

  • increase the number of sanitizers we enable to those enabled by -fsanitize=address,undefined to check for undefined behavior in addition to the memory safety problems checked by address sanitizer
  • enable these sanitizers in automated tests (such as those being added by Add ctest to spack build pipelines. #118)

additionally, i propose we increase the warnings reported by the compiler by passing -Wall -Wpedantic -Wconversion -Wextra to CFLAGS/CXXFLAGS in all build types

Metadata

Metadata

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions