Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 [RFC] dropping the machine dependent endian

open
nobody
None
5
2010-08-01
2010-08-01
No

The code for machine dependent endian encoding violates the strict aliasing rules, and potentially also the memory alignment due to typecasting of byte pointers to ints.

The attached patch tries to change the machine dependent endian in 0x11 coding to big endian, and drops Endian::Dependant However, I don't have a printer with this encoding, so this completely untested patch is just a suggestion.

Discussion

  • drop Endian::Dependant

     
    Attachments