Open
Description
Describe the issue
On latest fedora:rawhide, both with clang++ (19.1.6) or g++ (15.0.1), in implicit mode or explicit -std=c++17, including gtest.h emits:
/usr/bin/../lib/gcc/x86_64-redhat-linux/15/../../../../include/c++/15/ciso646:46:4: warning: "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^
workaround: use explicit -std=c++20
Steps to reproduce the problem
docker run --rm -it fedora:rawhide
install gtest 1.15.2 in it
include gtest.h
What version of GoogleTest are you using?
1.15.2
What operating system and version are you using?
# cat /etc/redhat-release
Fedora release 41 (Rawhide)
What compiler and version are you using?
clang++ (19.1.6) or g++ (15.0.1)
What build system are you using?
all
Additional context
No response
Metadata
Assignees
Labels
No labels