Pierre Habouzit <madcoder@debian.org> writes:
[bit fields]
And strictly speaking, C bitfields are completely useless for that
purpose since the compiler is free to use whatever method he wants for
allocating bit fields. So if you want to write a portable program,
you are back to making the masks yourself.
Where bit fields work reliably is when you are not interchanging data
with other applications, but just laying out your internals.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html