Hacker News new | ask | show | jobs
by saagarjha 2673 days ago
Clang accepts it, but GCC does not. I suspect there's a bug here.
1 comments

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.