NO

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

Offline Robert

  • Member
  • *
  • Posts: 245
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: 2096
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...  ;)
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • 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