Comments (4)
The
std::format
function was introduced in the C++20 standard[3]. However, the actual support for this feature in compilers came later. The GCC compiler started supportingstd::format
from version 13, which was released in April 2023[1][4]. For the Clang compiler,std::format
support was added in version 14, but it was marked as an incomplete feature. Full support was available from Clang 15.0.0 and later, which could be enabled with the-fexperimental-library
compiler flag[1]. For MSVC, support forstd::format
was available from version 16.10 and upward[1].Citations:
[1] https://stackoverflow.com/questions/63724059/does-gcc-support-c20-stdformat
[2] https://en.wikipedia.org/wiki/C%2B%2B
[3] https://en.wikipedia.org/wiki/C%2B%2B20
[4] https://developers.redhat.com/articles/2023/06/21/new-c-features-gcc-13
[5] https://gcc.gnu.org/projects/cxx-status.html
[6] https://en.cppreference.com/w/cpp/compiler_support
[7] https://gcc.gnu.org/gcc-13/changes.html
[8] https://en.cppreference.com/w/cpp/language/history
from build-your-own-http-server.
We're running gcc 12.x - so I'm guessing updating to 13.x should fix it?
That fixed it for me. Also, I'm not sure what you guys use for your back end, but I needed to either upgrade my WSL Ubuntu 22 or use the bundled libstdc++ in gcc 13 (I went with the latter and I don't actually know what I'm doing).
from build-your-own-http-server.
We're running gcc 12.x - so I'm guessing updating to 13.x should fix it?
from build-your-own-http-server.
Let's update gcc across all challenges while we're at it
from build-your-own-http-server.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from build-your-own-http-server.