According to the CPP standard, <version> and the deprecation was added in CPP20 [1] so would be best not to patch that part unconditionally in the gtest source. Maybe you could patch in a pragma to disable the warning instead?
Another option could be to drop the CPP standard check altogether and rely on the availability of __has_include.
[1]: https://en.cppreference.com/w/cpp/header/ciso646
Another option could be to drop the CPP standard check altogether and rely on the availability of __has_include.
[1]: https://en.cppreference.com/w/cpp/header/ciso646
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue