Can Workshop Compiler support the syntax?

March 29, 2011 at 20:04:52
Specs: solaris, x86
typedef struct endianA
{
_u8 a;
_u8 dummy[3];
_u16 b[2];
union
{
_u32 c;
_u16 d[2];
}u;
}__attribute__((packed));

See More: Can Workshop Compiler support the syntax?

Report •

#1
March 30, 2011 at 03:37:21
Do you mean the Sun Workshop Compiler? According to Sun:

"Due to its degree of maturity and stability, there have been no source incompatibilities introduced in any product released from Sun WorkShop 3.0 to the present."

so I should think the answer is "Yes". But there's a very simple way of finding a definitive answer to your question - try it and see.


Report •
Related Solutions


Ask Question