On 8/8/12 8:54 AM, Jim Mankovich wrote:
> Carson,
>
> The struct_member_name:value syntax was obsoleted in GCC 2.5 See:
>
http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/Designated-Inits.html#Designated-Inits
>
> The right thing to do is to change these to .struct_member_name =
> value syntax, which is what you mentioned you did.

Good. I was pretty sure it was a gcc-ism - nice to see they got a clue
and deprecated it in favour of the standard syntax.

> Does your compiler support #pragma pack(1) syntax?   If it does and
> it packs to 3 instead of 5 bytes, #pragma pack could be used.

It does, but still packs to 5. Why is bit-packing so critical? Do we
really use this undefined compiler behaviour to extract on-wire data? If
not, I can just fix the configure test to try an int/char mix and verify
syntax.

-- 
Carson



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to