On Thu, Sep 17, 2009 at 10:00 PM, Alan Coopersmith <Alan.Coopersmith at sun.com > wrote:
> > > 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. > that's actually what my remark was about. I use __SUNPRO_C >= *** so if a newer version of SunStudio has a number version which is lower, there will be problems Vincent Torri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/tools-compilers/attachments/20090917/a72d7f53/attachment.html>