DrylandEcology / SOILWAT2

An ecosystem water balance simulation model
GNU General Public License v3.0
5 stars 2 forks source link

gcc13 doesn't compile test program #375

Open dschlaep opened 8 months ago

dschlaep commented 8 months ago

CC=gcc CXX=g++ make clean test with gcc13 13.2.0_3+stdlib_flag

external/googletest/googletest/src/gtest-filepath.cc:60:25: error: '_POSIX_PATH_MAX' was not declared in this scope 60 | #define GTEST_PATHMAX _POSIX_PATH_MAX | ^~~~~~~

dschlaep commented 1 month ago

Updating GoogleTest to latest commit on Jun 6, 2024 (https://github.com/google/googletest/commit/a7f443b80b105f940225332ed3c31f2790092f47) does not resolve this issue for me.

dschlaep commented 1 month ago

This issue may be related some/all of the following points