Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mikeash
on June 17, 2019
|
parent
|
context
|
favorite
| on:
GCC should warn about 2^16 and 2^32 and 2^64
Usually, yes. C is weird because undefined behavior is illegal, can sometimes be detected statically, and yet will not produce an error. So sometimes you get warnings for invalid yet error-free code. It’s a strange language.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: