Ethereal-dev: RE: [Ethereal-dev] MSVC warning: NOT_DECODED_YET is redefined (pa cket-ber.h / p

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

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 17 May 2004 09:51:37 +0200
|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