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.
[ Parent
| on HN ]
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.