Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I love how in every C code snippet on every comment on this thread, somebody got something wrong. I take it as a sign that it's probably best to avoid C as much as possible.


view as:

! multithreaded it's not Hey, at least code

Any C compiler that isn't a trivial toy implementation will warn about that, so it's hardly a C gotcha.

clang and VC++ for x64 warn about this out of the box, but gcc seems to need -Wall.

Legal | privacy