Wireshark mailing list archives
Re: Build wireshark on windows fails, linux works
From: Guy Harris <guy () alum mit edu>
Date: Thu, 25 Mar 2010 10:55:38 -0700
On Mar 25, 2010, at 4:21 AM, Marcel Sicking wrote:
Lines are: static const struct tlv_definition rsl_att_tlvdef = { .def = { #650 [RSL_IE_CH_NO] = { TLV_TYPE_TV, 0 }, [RSL_IE_LINK_ID] = { TLV_TYPE_TV, 0 }, [RSL_IE_ACT_TYPE] = { TLV_TYPE_TV, 0 }, [RSL_IE_IPAC_CONN_ID] = { TLV_TYPE_FIXED, 2 }, [RSL_IE_IPAC_RTP_PAYLOAD2] = { TLV_TYPE_TV, 0 }, }, #718 };
That's not supported by Microsoft's C compiler.
Can somebody help me?
Use only those non-C89 features that are supported by GCC *and* MSVC in your dissector. (Yes, C89, not C99; Microsoft's C compiler doesn't support all of C99.) If you want to submit your changes to us, read the doc/README.developer section on "Portability" - there are other compilers to worry about as well in a program that has to build with native compilers on a number of different UN*Xes as well as with MSVC on Windows. ___________________________________________________________________________ Sent via: Wireshark-users mailing list <wireshark-users () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-users Unsubscribe: https://wireshark.org/mailman/options/wireshark-users mailto:wireshark-users-request () wireshark org?subject=unsubscribe
Current thread:
- Build wireshark on windows fails, linux works Marcel Sicking (Mar 25)
- Re: Build wireshark on windows fails, linux works Jaap Keuter (Mar 25)
- <Possible follow-ups>
- Build wireshark on windows fails, linux works Marcel Sicking (Mar 25)
- Re: Build wireshark on windows fails, linux works Guy Harris (Mar 25)
- Re: Build wireshark on windows fails, linux works Marcel Sicking (Mar 26)
- Re: Build wireshark on windows fails, linux works Guy Harris (Mar 25)