ut icon indicating copy to clipboard operation
ut copied to clipboard

Build (v143, 20) fails on constexpr.cpp.

Open Sebanisu opened this issue 3 years ago • 1 comments

Expected Behavior

compiles in msvc

Actual Behavior

D:\a\ut\ut\example\tmp.cpp(30,1): fatal error C1001: Internal compiler error. [D:\a\ut\ut\build\example\boost_ut_tmp.vcxproj] (compiler file 'D:\a_work\1\s\src\vctools\Compiler\CxxFE\sl\p1\c\constexpr\constexpr.cpp', line 8462) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com/ Please choose the Technical Support command on the Visual C++

Steps to Reproduce the Problem

this is part of the automated tests.

Possible fix

Change build system to use Visual Studio 2022. They fixed some bugs that will never be fixed in 2019. Otherwise you'd need to modify your code to make it work 2019. https://github.com/boost-ext/ut/actions/runs/3742854596/jobs/6354313127

Sebanisu avatar Dec 20 '22 18:12 Sebanisu

Issue is still present in VS 17.7.2 (Compiler Version 19.37.32822 for x64) with v1.1.9.

Edit Tested master though and it builds.

helmesjo avatar Aug 23 '23 08:08 helmesjo