premake-core icon indicating copy to clipboard operation
premake-core copied to clipboard

cppdialect "C++20" yields "Preview - Features from the Latest C++ Working Draft (/std:c++latest)" Visual Studio

Open rtosman opened this issue 3 years ago • 2 comments

I am using 5.0.0 beta and generating a vs2022 solution.

Premake.lua sets {cppdialect "C++20"}

Inside the solution this yields "Preview - Features from the Latest C++ Working Draft (/std:c++latest)" even though VS does have a specific c++20 option: "ISO C++20 Standard (/std:c++20)"

rtosman avatar Jul 14 '22 17:07 rtosman

I'm having the same issue with the same version.

ngzaharias avatar Jul 19 '22 23:07 ngzaharias

It has been fixed by this pull request https://github.com/premake/premake-core/pull/1749, however, the published binaries are not up-to-date, you can try to compile from source and it should no longer be an issue.

siradam7th avatar Jul 21 '22 10:07 siradam7th