News for hackers. Stuff that matters.
Re:C Macro Magic by saagarjha on Thursday February 28, 2019 @07:05AM (#19270751)
Clang accepts it, but GCC does not. I suspect there's a bug here.
Re:C Macro Magic by foldr on Thursday February 28, 2019 @07:28AM (#19270870)
It fails because gcc appears not to support _Generic by default, but that's not the important part of the code. If you comment out the printf, or figure out which compiler options to set, gcc will compile it.