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] Error compiling acustomdllpluginforWireshark0.99.7

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Thu, 6 Mar 2008 00:50:02 -0700
On Thu, Mar 06, 2008 at 12:59:46PM +0530, A Verma wrote:

> Can you pls suggest me what to do. I am getting both warnings and 
> errors, I have tried a lot of things but they don't go away. I am new 
> to development with wireshark.
> 
> The errors that I am getting are:

> packet-xxx.c(1077) : error C2220: warning treated as error - no 
> 'object' file generated

> packet-xxx.c(1077) : warning C4244: '=' : conversion from 'time_t' to 
> 'unsigned int', possible loss of data

<snip>

Can you show us the lines of your code that are generating these 
warnings?  The line numbers are shown in parenthesis after packet-xxx.c.

> Also can you pls tell me how to supress the warnings?

If you fix the cause of the warnings, thenn they will go away :).

> I tried this and got the following errors:
> C:\wireshark>/.configure --disable-warnings-as-errors
> '/.configure' is not recognized as an internal or external command,
> operable program or batch file.

That will only work on Unix builds, not Windows.


Steve