Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Current C-Standard used in wireshark

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Sat, 2 Jan 2016 12:30:17 +0100


Le 2 janv. 2016 12:04 PM, "Thomas Wiens" <th.wiens@xxxxxx> a écrit :
>
> Hi,
>
> I just updated my local wireshark sources and wanted to build wireshark
> with Win32 / VC10.0, when compiling failed at extcap/randpktdump.c, line
> 297, due to variable declaration inside code which is not C89 compliant.
>
> The README.developer states still not to use C99 features. Is the readme
> not up to date, or is there an error in the file?
>
> I have to mention that I don't have Qt installed.
>
> Thanks,
>
> Thomas Wiens

Hi Thomas,

For now non C++ code must still comply with C89, so this is an error that needs to be fixed. If you want to contribute, a Gerrit patch is welcome :)

Best regards,
Pascal.