C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Did the standard committee vote to make integer comparisons do the right thing?
From: Thiago Macieira (thiago_at_[hidden])
Date: 2019-11-07 08:59:57


On Thursday, 7 November 2019 03:17:15 PST Shachar Shemesh wrote:
> I don't think "slow" is acceptable. There's WAY too much code that performs
> comparisons between signed and unsigned that would be affected.
> Then how about "error out"?

-Werror=sign-compare and see how far you can get.

As I said, WAY too much code doing that.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups