NO

Author Topic: The Twelfth of Never  (Read 636 times)

Offline Robert

  • Member
  • *
  • Posts: 214
The Twelfth of Never
« on: October 02, 2021, 01:32:53 am »
Code: [Select]

#include <stdio.h>

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


Output:
202912

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 1882
Re: The Twelfth of Never
« Reply #1 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...  ;)

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2169
    • http://www.smorgasbordet.com
Re: The Twelfth of Never
« Reply #2 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.
/Pelle