DrylandEcology / STEPWAT2

folder
4 stars 5 forks source link

Update unit tests using googletest to compile with std=c++14 #558

Closed dschlaep closed 11 months ago

dschlaep commented 11 months ago

Currently, STEPWAT2's unit test make target "stepwat_test" compiles with std=c99 and std=c++11.

This started to fail with googletest v1.14.0 because it now requires at least std=c++14 (see also https://github.com/DrylandEcology/SOILWAT2/issues/339)

STEPWAT2 utilizes SOILWAT2's googletest submodule, and SOILWAT2 updated this `googletest' submodule with SOILWAT2 v7.1.0 (https://github.com/DrylandEcology/SOILWAT2/releases/tag/v7.1.0).