Ethereal-dev: Re: [Ethereal-dev] MSVC warning: NOT_DECODED_YET is redefined (packet-ber.h / pa

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ronnie Sahlberg" <ronnie_sahlberg@xxxxxxxxxxxxxx>
Date: Mon, 17 May 2004 19:07:58 +1000
Ok

ill check in that change.

are there really dissectors/protocols that need to include both packet-per.h
and packet-ber.h at the same time?


----- Original Message ----- 
From: "Biot Olivier" <Olivier.Biot@xxxxxxxxxxx>
To: "'Ethereal development'" <ethereal-dev@xxxxxxxxxxxx>
Sent: Monday, May 17, 2004 5:51 PM
Subject: RE: [Ethereal-dev] MSVC warning: NOT_DECODED_YET is redefined
(packet-ber.h / packet-per.h)


> |From: Ulf Lamping
> |
> |
> |Hi List!
> |
> |When compiling latest CVS, I get:
> |
> |..\packet-ber.h(35) : warning C4005: 'NOT_DECODED_YET' :
> |Makro-Neudefinition
> |        ..\packet-per.h(35) : Siehe vorherige Definition von
> |'NOT_DECODED_YET'
>
> Ulf, Tomas & Ronnie,
>
> The simplest fix is to execute the following commands in a bash shell:
>
> $ sed -i 's/NOT_DECODED_YET/PER_NOT_DECODED_YET/g' packet-per.[hc]
> packet-h225.c packet-h245.c packet-h450.c packet-t38.c
> $ sed -i 's/NOT_DECODED_YET/BER_NOT_DECODED_YET/g' packet-ber.[hc]
> packet-kerberos.c
>
> You can still double-check the files to edit by doing a grep for
> 'packet-.er\.h' on all packet-*.c files (that's how I got the list of
files
> to patch).
>
> Regards,
>
> Olivier
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev