Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc13 doesn't compile test program #375

Closed
dschlaep opened this issue Oct 16, 2023 · 3 comments
Closed

gcc13 doesn't compile test program #375

dschlaep opened this issue Oct 16, 2023 · 3 comments
Labels
Milestone

Comments

@dschlaep
Copy link
Member

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_PATH_MAX
_POSIX_PATH_MAX
| ^~~~~~~~~~~~~~~

@dschlaep dschlaep added the bug label Oct 16, 2023
@dschlaep dschlaep added this to the Code testing milestone Oct 16, 2023
dschlaep added a commit that referenced this issue Oct 16, 2023
- note: issue #375 "gcc13 doesn't compile test program"
@dschlaep
Copy link
Member Author

dschlaep commented Jun 6, 2024

Updating GoogleTest to latest commit on Jun 6, 2024 (google/googletest@a7f443b) does not resolve this issue for me.

@dschlaep
Copy link
Member Author

dschlaep commented Jun 6, 2024

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

@dschlaep
Copy link
Member Author

I can no longer reproduce this issue. Tested on v8.0.0 with the following compilers for make CXX=g++ clean test:

  • gcc12 12.4.0_1+stdlib_flag
  • gcc13 13.3.0_1+stdlib_flag
  • gcc14 14.1.0_1+stdlib_flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant