News for hackers. Stuff that matters.
Re:Ghostling by mitchellh on Friday March 20, 2026 @10:40PM (#47463510)
Well, I originally used C23's #embed directive (https://en.cppreference.com/w/c/preprocessor/embed) but GCC in Nixpkgs doesn't support C23 (or I'm holding it wrong) so I dropped back to this. The better long term solution is #embed.
Re:Ghostling by poly2it on Saturday March 21, 2026 @08:26AM (#47466398)
I've definitely used C23 via Nixpkgs long ago at this point, did you use the `gcc` package and `-std=c23`? Both unstable and 25.11 should support it on all currently packaged GCC versions.