Compiling C++20 to use <format>header in windows-runner #7640
Replies: 3 comments 3 replies
-
are you able to run |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hey @Sunchock. You are right, Here is the release that is installed in But according to this page, text formatting has been implemented only in GCC 13 and Clang 14. So looks like this feature is not supported by github-hosted runners indeed. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have wrote a GitHub Action to compile my project with the
windows-latest
runner but it shows me the following error :After checking cpprerefence, header is included in
g++ 13
I know there is the
fmt
library to replace header but I would like to know if it's possible to use the standard one with the runner.So i would like to verify if the runner-image uses
g++ 13
and I checked the image details. Actuallywindows-latest
is win22/20230508.3 and usesMinGW-w64 11.2.0
but the official changelogs for MinGW-w64 don't have the11.2.0
version so it's confusing me.I added
g++ --version
to my action to get more infos.So I supposed that
MinGW-w64 11.2.0
version is for g++ in reality and not correspond to the MinGW-w64 itself, maybe a little confusion here ?Did I miss something ? How to configure runner to get header pls ?
Beta Was this translation helpful? Give feedback.
All reactions