Carson,

Does 1.8.11 compile without issue on Studio compilers on Sol 11?

-- Jim Mankovich | jm...@hp.com --

On 8/7/2012 2:32 PM, Carson Gaspar wrote:
> The code is full of gcc-isms:
>
>   From configure.in:
>
> CFLAGS="$CFLAGS -fno-strict-aliasing -Wreturn-type -Wno-unused-result
> -Wno-packed-bitfield-compat"
>
> In additon to the gcc-specific flags, it fails to build with the Studio
> compilers on Sol 11, spewing tons of errors similar to:
>
> "../include/ipmitool/ipmi_sel.h", line 156: cannot use an address to
> initialize a field of a packed struct (#pragma pack)
>
> (it also complains about pack(0) being illegal)
>
> If I force undef HAVE_PRAGMA_PACK, it dies at:
>
> "ipmi_mc.c", line 122: undefined symbol: name
>
> If ipmitool now _requires_ gcc (which is a terrible idea), it needs to
> document that prominently. If not, it needs to be written in C/C99, not
> using gcc's non-standard dialect.
>


------------------------------------------------------------------------------
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