date icon indicating copy to clipboard operation
date copied to clipboard

VS 2019 warning C26451 and C26495

Open joeccane opened this issue 5 years ago • 4 comments

When building with Visual Studio 2019 v16.0.3 I got 13 warnings. 1x C26451 and 12x C26495.

This is in warning level /W3

Attached is the list of warnings, I just added a few pragma warning disabled lines to get rid of them because it seems VS is confused with constructor forwarding for most of them but wanted to make you aware!

warnings.txt

joeccane avatar Oct 12 '19 14:10 joeccane

Thanks!

HowardHinnant avatar Oct 12 '19 15:10 HowardHinnant

Whats the progress on this?

Auios avatar Feb 22 '20 23:02 Auios

There hasn't been any progress.

HowardHinnant avatar Feb 23 '20 00:02 HowardHinnant

I got C26451 in a legacy random number generator which relies on overflow and recognized i cannot turn it off using #pragma warning(disable: 26451) resulting in a "unknown type of user warning" error message. I wished this were possible.

An-S avatar Nov 20 '20 16:11 An-S