Hacker News new | past | comments | ask | show | jobs | submit login

I checked just GCC 10 and Clang 9, pretty sure MSVC will also let you use gets() since their C compiler is C89 with partial C99 support.

Honestly I would've expected an error with -std=c17 -Wall -pedantic from GCC and Clang since gets() was removed in the C11/C17 standards.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: