Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shakna
3 months ago
|
parent
|
context
|
favorite
| on:
UndefinedBehaviorSanitizer's Unexpected Behavior
Not all pointers. Function pointers, though often used that way, should not be cast to void. ISO C forbids it. (Implementations may allow it.)
gpderetta
3 months ago
[–]
ISO C forbids it, but, FWIW, POSIX requires it. So pick your standard I guess.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: