Pelles C forum

Pelles C forum => General discussion => Topic started by: Robert on October 02, 2021, 01:32:53 am

Title: The Twelfth of Never
Post by: Robert on October 02, 2021, 01:32:53 am
Code: [Select]

#include <stdio.h>

int main(){
    printf("%ld", __POCC_STDC_VERSION__);
}


Output:
202912
Title: Re: The Twelfth of Never
Post by: frankie on October 02, 2021, 10:24:00 am
Code: [Select]

#include <stdio.h>

int main(){
    printf("%ld", __POCC_STDC_VERSION__);
}


Output:
202912
Always keep an eye toward future...  ;)
Title: Re: The Twelfth of Never
Post by: Pelle on October 02, 2021, 12:53:28 pm
The old tradition is to have the most recent standard C version being the default in POCC. Right now you get C2X which is unfinished/experimental, so perhaps a bit questionable. The C2X standard is supposed to be finished in 2023 (we'll see about that). Whenever it's finished it will get a proper date. Right now all I have is a fake date. Any date. You can always use the /std option to choose something better than the C2X standard.