please test latest svn    i have changed it to not use anonymous unions/structs


On 11/5/06, Albert Chin <[EMAIL PROTECTED]> wrote:
> On Solaris 2.6, compiling 0.99.4 with the Sun C compiler fails because
> anonymous unions are not valid. epan/dissectors/packet-scsi-osd.c has:
>   typedef struct _scsi_osd_extra_data_t {
>    guint16 svcaction;
>    guint8  gsatype;
>    union {
>     struct { /* gsatype: attribute list */
>      guint32 get_list_length;
>      guint32 get_list_offset;
>      guint32 get_list_allocation_length;
>      guint32 retreived_list_offset;
>      guint32 set_list_length;
>      guint32 set_list_offset;
>     };
>    };
>   } scsi_osd_extra_data_t;
>
> epan/emem.h had a similar problem awhile ago.
>
> Patch attached.
>
> --
> albert chin ([EMAIL PROTECTED])
>
>
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to