Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-24 Thread Graham Bloice
On 24 December 2016 at 10:31, Andreas wrote: > >> If I"m not mistaken, version 12.0.21005 was the first MSVC 2013 version. > >> Since 5 updates were released and we have no issue compiling the > Wireshark > >> code with MSVC 2013 Update 5. The download link can be found here: > >> https://www.mic

Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-24 Thread Andreas
>> If I"m not mistaken, version 12.0.21005 was the first MSVC 2013 version. >> Since 5 updates were released and we have no issue compiling the Wireshark >> code with MSVC 2013 Update 5. The download link can be found here: >> https://www.microsoft.com/en-us/download/details.aspx?id=48129 >> Once u

Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-23 Thread Graham Bloice
On 23 December 2016 at 10:08, Pascal Quantin wrote: > > > 2016-12-23 10:52 GMT+01:00 João Valverde >: > >> I don't know much about MSVC but my best guess is broken C99 support. > > > If I"m not mistaken, version 12.0.21005 was the first MSVC 2013 version. > Since 5 updates were released and we h

Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-23 Thread Pascal Quantin
2016-12-23 10:52 GMT+01:00 João Valverde : > I don't know much about MSVC but my best guess is broken C99 support. If I"m not mistaken, version 12.0.21005 was the first MSVC 2013 version. Since 5 updates were released and we have no issue compiling the Wireshark code with MSVC 2013 Update 5. The

Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-23 Thread João Valverde
I don't know much about MSVC but my best guess is broken C99 support. On 12/23/2016 08:51 AM, Andreas wrote: I could "fix" the errors compiling the dissectors. This looks like a bug in the VS2013 compiler I use. The function add_ipv6_address_teredo has these lines: if (tvb_get_ntohl(tvb, o

Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-23 Thread Roland Knall
Hi The solution should rather be if (tvb_get_ntohl(tvb, offset) != 0x2001) { return; } This follows the coding rules within the file. I can't even begin to imagine, what msbuild is complaining about, but who really knows, what that build-system is thinking in it's core..

Re: [Wireshark-dev] Building latest Wireshark using VS2013

2016-12-23 Thread Andreas
I could "fix" the errors compiling the dissectors. This looks like a bug in the VS2013 compiler I use. The function add_ipv6_address_teredo has these lines: if (tvb_get_ntohl(tvb, offset) != 0x2001) return; guint16 mapped_port = tvb_get_ntohs(tvb, offset + 10) ^ 0x; That

[Wireshark-dev] Building latest Wireshark using VS2013

2016-12-22 Thread Andreas
Hi, I would like to compile Wireshark for 64 bit at my computer. The OS is Windows 10, 64 bit. I have VS2013 Premium installed. Reading the WSDG at https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html I've done these steps: - cd C:\Users\AS\Documents\Projects\Wireshark\Source gi