Re: [Lcms-user] Test fail on sgi with 1.07m
An ICC-based CMM for color management
Brought to you by:
mm2
From: <ma...@li...> - 2001-05-26 08:23:56
|
Hi, >#pragma pack() is not valid on the sgi. What sort of alignment were you >after? pack(0)? Yep, that is! The idea is, lcms.h does need byte-alignment. This don't mean your whole application does need to be byte-aligned, only lcms.h. On end of lcms.h pack() is supposed to restore original alignment.Then, each compiler implements this sort of thing differently. Some does use pack(0), some pack() and others are using arcane #pragma. If you can obtain somehow byte alignment on lcms.h, all will work fine ... hopefully! :) Regards, Martí. |