Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Apparently void foo() will not error when called with arbitrary values - it's implicitly variadic. This surprised me too, but I confirmed it with gcc, even on -std=c1x and with -Wall -Wextra -pedantic.

Learnt something!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: