Dave Pagan wrote:
> Vincent Torri wrote:
>>
>>
>> 1) Is it really the case, and from which version
>> __attribute__((__packed__)) is available (which version of
>> _SUNPRO_C should I check) ?
>>
>>
>> Check for __SUNPRO_C == 0x510
>>
>>
>> hmm, in another answer about __attribute__, you told me to check
>> __SUNPRO_C with 0x590. Is it still 0x510 ?
>
> The value of 0x590 applied to Sun Studio 12,the previous release of Sun
> Studio. The packed attribute was not available until this release, which
> is why the value for __SUNPRO_C is different.
0x510 < 0x590 - you didn't really make the version number go backwards did you?
That will break existing code that checks for __SUNPRO_C >= 0x550
and such.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering