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

performance_counters.hpp gives warning C5054: operator '-': deprecated between enumerations of different types #7881

Open
xavier2k6 opened this issue Feb 21, 2025 · 0 comments · May be fixed by #7888

Comments

@xavier2k6
Copy link
Contributor

xavier2k6 commented Feb 21, 2025

Compile RC_2_0 Branch with MSVC 19.42.34436.0 & C++20

D:\a\qBittorrent\libtorrent\include\libtorrent/performance_counters.hpp(463): warning C5054: operator '-': deprecated between enumerations of different types

num_gauges_counters = num_counters - num_stats_counters


Compile RC_1_2 Branch with MSVC 19.42.34436.0 & C++20

D:\a\qBittorrent\libtorrent\include\libtorrent/performance_counters.hpp(473): warning C5054: operator '-': deprecated between enumerations of different types

num_gauges_counters = num_counters - num_stats_counters

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

Successfully merging a pull request may close this issue.

1 participant