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

I’ve done

  gcc foo.c -o foo.c
far too many times :(


Seems like gcc should be smart enough to reject that mistake nowadays, right?!


I should write a shell frontend to gcc to warn if I do this…


I work in exactly two modes of `gcc` usage. I either accept `./a.out` as the name I deserve, or I write a `CMakeLists.txt`.

There nothing in between.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: