Re: GCC defined(__cplusplus) one rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2025-01-27 at 20:52 +0100, Cristian Le via devel wrote:
> 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

but "#include <version>" (the replacement) already exist in CPP17 ,
isn't it ? 


-- 
Sérgio M. B.
-- 
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux