https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100903
--- Comment #21 from Björn Schäpers <gcc at hazardy dot de> --- (In reply to Jonathan Wakely from comment #17) > (In reply to Björn Schäpers from comment #16) > > This now (with GCC 16.1) fires on comparison of std::chrono::duration. > > Do you mean comparing durations to each other, or when comparing the result > of such a comparison to 0? The former would be surprising, the latter is > not, because a warning is expected for any (x<=>y) > 0 expressions. The > types of x and y aren't relevant. > For completeness: I did see it when comparing two durations through Catch2's CHECK macro, don't know if there are templates involved, but that is likely.
