This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: modify gcc to handle byteorder issue automatically


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]