3

I'm trying to find a copy of stdckdint.h, which I assume should be in the gcc 11.2 collection, but a search fails to locate it in the downloaded source tarball.

Is it not public yet, or do I have to unpack/build something to get the include files?

Ian
  • 1,507
  • 3
  • 21
  • 36
  • 1
    `Is it not public yet` How do you know it "is" there at all? – KamilCuk Apr 05 '22 at 10:10
  • Is not 11.2 meant to contain the c23 proposals? – Ian Apr 05 '22 at 11:59
  • 1
    I do not know, how do you know? It's rather, you assume something is not there, unless proven, not otherwise. Anyway, gcc11 was released in 2021. It would be impractical to implement "proposal"s from C2x so early. – KamilCuk Apr 05 '22 at 12:08
  • Fair enough. Where would you suggest I look instead? – Ian Apr 05 '22 at 12:11
  • 1
    gcc implements builtins that provide the same feature, you'd just have to create macros that change the argument order – Jens Gustedt Mar 28 '23 at 14:50

1 Answers1

3

Gcc11 does not provide stdckdint.h. The documentation of gcc does not mentions it, neither in release notes nor in C standard support page. As the documentation states, C2x support in GCC is incomplete and experimental. The release notes for gcc11 lists implemented C2x features.

In the meantime, you can use my implementation available from https://gitlab.com/Kamcuk/ckd/-/tree/master .

KamilCuk
  • 120,984
  • 8
  • 59
  • 111