Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

To kick or not to kick... -- Somewhere on IRC, inspired by Shakespeare


devel / comp.lang.c++ / I've found yet another VS2022 compiler bug

SubjectAuthor
o I've found yet another VS2022 compiler bugMr Flibble

1
I've found yet another VS2022 compiler bug

<176095be5b20ea4d$10$1196251$faa1aca7@news.newsdemon.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=176&group=comp.lang.c%2B%2B#176

  copy link   Newsgroups: comp.lang.c++
Date: Fri, 19 May 2023 16:41:45 +0100
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Newsgroups: comp.lang.c++
Content-Language: en-US
From: flibble2@reddwarf.jmc.corp (Mr Flibble)
Subject: I've found yet another VS2022 compiler bug
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.newsdemon.com!not-for-mail
Nntp-Posting-Date: Fri, 19 May 2023 15:41:45 +0000
Organization: NewsDemon - www.newsdemon.com
X-Complaints-To: abuse@newsdemon.com
Message-Id: <176095be5b20ea4d$10$1196251$faa1aca7@news.newsdemon.com>
X-Received-Bytes: 1038
 by: Mr Flibble - Fri, 19 May 2023 15:41 UTC

Hi!

Another VS2022 regression:

https://developercommunity.visualstudio.com/t/if-constexpr-in-std::visit-lambda-incorr/10369543?viewtype=solutions

Interestingly this bug also manifests on latest clang; g++ is fine with
it. The supplied workaround confirms it is a compiler bug.

/Flibble

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor