Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the new C23 standard #685

Open
chuggafan opened this issue Aug 5, 2022 · 3 comments
Open

Implement the new C23 standard #685

chuggafan opened this issue Aug 5, 2022 · 3 comments

Comments

@chuggafan
Copy link
Contributor

chuggafan commented Aug 5, 2022

https://open-std.org/JTC1/SC22/WG14/www/docs/n3047.pdf

We actually have a lot of code that works for this as this is mostly an update to get C++ features in C, however the main workload I see being a problem will be #embed, which is a preprocessor addition. I am using a draft that shows all the features added as well.

Edit: not sure what milestone this belongs in, just not in the current one, maybe 4th milestone would be a good idea?

@LADSoft
Copy link
Owner

LADSoft commented Aug 5, 2022

yeah if it is really mostly C++ stuff ported to C it will be fairly easy, although, we might want to consolidate the C compiler version checking into a single variable... #embed doesn't look hard, I write programs that generate code like that all the time. We can resurrect the AES example I had and move the encryption/decryption tables into binary files as a test program lol...

I'll go ahead and put it in milestone 4 😄

LADSoft added a commit that referenced this issue Aug 1, 2023
LADSoft added a commit that referenced this issue Aug 1, 2023
add ckd_xxx macros
add various type-related stuf
LADSoft added a commit that referenced this issue Aug 1, 2023
@LADSoft
Copy link
Owner

LADSoft commented Aug 27, 2023

I'll be working on this for a while. The big thing left is _BitInt but there are a lot of smaller issues as well...

LADSoft added a commit that referenced this issue Sep 6, 2023
LADSoft added a commit that referenced this issue Sep 6, 2023
LADSoft added a commit that referenced this issue Sep 6, 2023
LADSoft added a commit that referenced this issue Sep 6, 2023
LADSoft added a commit that referenced this issue Sep 6, 2023
@LADSoft
Copy link
Owner

LADSoft commented Sep 8, 2023

I'm through the BITINT stuff and worked on a bunch of the more piddly stuff. I have two or three issues left to do then we will be mostly done other than the #810

LADSoft added a commit that referenced this issue Sep 8, 2023
LADSoft added a commit that referenced this issue Sep 8, 2023
LADSoft added a commit that referenced this issue Sep 8, 2023
LADSoft added a commit that referenced this issue Sep 8, 2023
LADSoft added a commit that referenced this issue Sep 8, 2023
LADSoft added a commit that referenced this issue Sep 29, 2023
LADSoft added a commit that referenced this issue Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants