Compiler error C2666 with Visual Studio 17.6

Description

Visual Studio 17.6 was released last week and it introduces a new compiler error in ICU that we didn’t experience before in the Node.js project:

The error points here:

/cc

Refs:

Activity

Fredrik Roubert 
July 6, 2023 at 1:08 PM

The error is real and the fix is trivially correct, the TC should accept this ticket and the pending PR should be merged.

Markus Scherer 
June 8, 2023 at 4:47 PM

could you please take a look at this? Looks like on this compiler the Measure::operator== overloads are ambiguous.

Steven R. Loomis 
May 22, 2023 at 7:40 PM

I just want to note that the code in question has an ancient TODO about adding operator== to UObject. Could probably be done incrementally with a base implementation that falls back to

 

Fixed

Details

Assignee

Reporter

Components

Priority

Fix versions

Created May 22, 2023 at 6:12 PM
Updated July 14, 2023 at 12:32 PM
Resolved July 14, 2023 at 12:32 PM