Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
saagarjha
· 6y ago · 0 comments
I’ve done
gcc foo.c -o foo.c
far too many times :(
Comments
[–]
loeg
6y ago
Seems like gcc should be smart enough to reject that mistake nowadays, right?!
[–]
saagarjha
OP
6y ago
I should write a shell frontend to gcc to warn if I do this…
[–]
lopsidedBrain
6y ago
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.