Liste des Groupes | Revenir à cl c |
Keith Thompson <Keith.S.Thompson+u@gmail.com> writesIf you pass my JPEG loader, for example, a binary created by zero-padding the most significant bits in a plarform where CHAR_BIT is not 8, it should work as intended. Unfortunately I don't have such a machine to actually test this.
And of course CHAR_BIT is the byte size on the target (relevant for
cross-compilers). In the odd case where CHAR_BIT is different on the
host and target systems, the embedded file needs to be one that could be
used on the target (if the target supports files).
It's probably reasonable for an implementation to support *only*
CHAR_BIT as the embed element width, and not to provide a mechanism to
change it.
Les messages affichés proviennent d'usenet.