Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
geocar
on Sept 23, 2015
|
parent
|
context
|
favorite
| on:
Linus on compiler warnings and code reviews
sizeof(a) is sizeof(int*) in your example because of the C standard: That is to say this is a bug in the standard, and not a bug in any particular compiler.
acconsta
on Sept 23, 2015
[–]
Yes, but why does the standard have that bug?
geocar
on Sept 23, 2015
|
parent
[–]
Probably because the compilers that were standardized had that bug.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: