Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The C standard doesn't guarantee much of anything. Windows and its drivers are using bitfields anyway because they trust MSVC to do the right thing.


Doesn't Linux make similar demands of the compiler, just not for bitfields? And I seem to recall Linus having some choice words for the C Standard's tendency over the years to expand the domain of undefined behavior. I don't think the Linux devs have much patience for C thinking it can weasel out of doing what it's told due to some small print in the Standard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: