On 8/7/12 2:54 PM, Jim Mankovich wrote: > Carson, > > Does 1.8.11 compile without issue on Studio compilers on Sol 11?
No - it looks like lib/ipmi_mc.c has been gcc only for a long time now :-( Where does the struct_member_name: value syntax even come from? Every reference I can find uses .struct_member_name = value. If I replace all foo: "bar" lines with .foo = bar lines, and hack out the pack pragma define from config.h, the code compiles. The delloem code uses __attribute__ ((packed)) unconditionally, ignoring the configure tests. ipmi_delloem.h also does an unconditional #pragma pack(1) at the top of the file, causing everything to be packed, which is certainly not what's intended, as only some structures have a packed attribute. Oracle's cc supports the __attribute__ ((packed)) syntax, but does not pack the test structure used in configure to 3 bytes the way gcc does, it packs to 5 bytes (unsurprising for 5 chars, modified with bitlengths though they may be). If that's not good enough, then there is no way to use anything but gcc. -- 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