Hacker Read
top
|
best
|
new
|
newcomments
|
leaders
|
about
|
bookmarklet
login
TremendousJudge | karma 2596 | avg karma 2.25
2023-04-06 13:58:44
|
next
[–]
update item
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.
reply
view as:
tree
latest_first
giantrobot | karma 5286 | avg karma 2.0
2023-04-06 16:32:43
|
next
[–]
similar comments
! multithreaded it's not Hey, at least code
reply
avar | karma 16410 | avg karma 5.06
2023-04-06 17:30:14
|
next
[–]
similar comments
Any C compiler that isn't a trivial toy implementation will warn about that, so it's hardly a C gotcha.
reply
tom_ | karma None | avg karma None
2023-04-06 19:48:37
|
next
[–]
similar comments
clang and VC++ for x64 warn about this out of the box, but gcc seems to need -Wall.
reply
Legal
|
privacy
reply