modify gcc to handle byteorder issue automatically
Gabriel Dos Reis
gdr@integrable-solutions.net
Mon Jul 21 13:24:00 GMT 2003
Georgy Yunayev <Georgy.Yunayev@kaspersky.com> writes:
| To simplify this task, I want to patch GCC - either to show me
| "problematic" pieces of code, or even generate special code to
| automatically convert byte order issues.
I would prefer a library extension (in libstdc++-v3 for example) with
primitives that tell the host (i.e. the machine the library is built for,
not to be confused with target) byte ordering scheme. Then,
converting from one ordering to another is "safely" handled by the
library.
-- Gaby
More information about the Gcc
mailing list