I like help confirming this stmt in C23 draft N3096 (§ 6.2.5, Pg 39) that "each distinct enumeration is a different enumerated type".
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf
I'm unable to confirm this type-distinctness in code. I wonder if that's because GCC and clang are yet to implement it. Or perhaps my code has issues, or I misunderstand the docs.
FYI I'm not a C programmer.
https://godbolt.org/z/zKeezshEz
Boosts appreciated to reach C programmers outside my small social circle.
🔃 🙏
A C23, GCC question: The first line of code here causes `-Wold-style-declaration` warning in GCC 13.1. Is this warning because GCC's C23 implementation of placeholder type `auto` is not yet complete?
Lock Your Thread: A major revision of the C language standard is due out this year https://www.fosslife.org/c23-standard-coming-lock-your-thread #C23 #CStandard #languages #SoftwareDevelopment
#c23 #cstandard #languages #softwaredevelopment
I've seen a little bit of discussion about the "Drill Bits" column in the latest ACM Queue
(https://dl.acm.org/doi/10.1145/3588242), in which is pretty clear that the authors aren't terribly happy with the #C23 draft. "Older standards such as C99 and C11 weren’t perfect, but detailed analysis will sometimes conclude that they are preferable to C23."
Fantastic writeup how things get worse for no reason whatsoever, other than process failures:
https://queue.acm.org/detail.cfm?id=3588242
LLVM and Clang 16 are out with more complete C++23 and C23 support.
https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html
I wonder if "import std" is finally usable in a real-world codebase?
#cpp #cpp23 #c23 #clang #llvm #programming
Is there any mainstream programming language where the standardizing committee focuses on maintaining an official book for someone keen to learn the language rather than posting a language lawyer ISO standardization document.
I want to learn #C23 and modern C++. This is a big reason for me not looking forward to any new language feature.
Is there no way to get argument type-qualifier genericism in C11+ that doesn't involve dispatching to different functions?
Imagine I have a function that is one MILLION lines, and one of those assigns to a "result parameter" (not return value) that I want to be (const char***) or (char***) depending on the argument type used by the user.
I want the QChar from #C23's #N3020 but you know.. for real.
Nouveautés du langage C dans sa prochaine version C23
#programming #programmation #c #c++ #c23
https://lsdm.live/modules/news/article.php?storyid=3596
#programming #programmation #c #c23
Interessante articolo di @JensGustedt su aggiunte e cambiamenti della libreria C nel nuovo standard #C23.
https://gustedt.gitlabpages.inria.fr/c23-library
Alcune caratteristiche di C23 son già supportate da #GCC e #clang, i più intrepidi possono già cominciare a giocarci 🙂
#c23 #gcc #clang #cprogramming #programming
Interessante articolo di @JensGustedt su aggiunte e cambiamenti della libreria standard C nel nuovo standard #C23.
https://gustedt.gitlabpages.inria.fr/c23-library
Alcune caratteristiche di C23 son già supportate da #GCC e #clang, i più intrepidi possono già cominciare a giocarci 🙂
https://en.cppreference.com/w/c/23#Compiler_support
(noi non ce lo facciamo ripetere due volte)
#c23 #gcc #clang #cprogramming #programming
Interessante articolo di @JensGustedt su aggiunte e cambiamenti della libreria standard C nel nuovo standard #C23.
https://gustedt.gitlabpages.inria.fr/c23-library
Alcune caratteristiche di C23 son già supportate da #GCC e #clang, i più intrepidi possono già cominciare a giocarci 🙂
https://en.cppreference.com/w/c/23#Compiler_Support
(noi non ce lo facciamo ripetere due volte)
#c23 #gcc #clang #cprogramming #programming
C23 standard features overview by
Björkus Dorkus
A must read if you are a C or system developer.
https://thephd.dev/c23-is-coming-here-is-what-is-on-the-menu
#cprogramming #programming #learning #c23 #infotech
Good overview of C23 changes, general and organised per standard library header. Thanks @JensGustedt for all your great work! #cprogramming #C99 #C11 #C17 #C2x #C23 https://htmlpreview.github.io/?https://icube-forge.unistra.fr/icps/c23-library/-/raw/main/README.html
#cprogramming #c99 #c11 #c17 #c2x #c23
C23 Programming for Everyone - Here’s a history quiz: What architecture did the first C++ compiler target? Of cou... - https://hackaday.com/2022/09/13/c23-programming-for-everyone/ #softwaredevelopment #c23 #c