Ethereal-dev: [Ethereal-dev] Problems compiling packet-alcap.c with msvc compiler

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

From: "Ulf Lamping" <ulf.lamping@xxxxxx>
Date: Mon, 6 Oct 2003 16:04:09 +0200
Hi List!

After being able to compile latest CVS sources again (flex problem solved), I'm having trouble compiling the file packet-alcap.c with visual C :-(

----- Line 79: ---------------------------------------------------------
static const value_string msg_parm_strings[];
---------------------------------------------------------------

The msvc error I got is:

packet-alcap.c(79) : error C2133: 'msg_parm_strings' : Unbekannte Groesse
(which means: unknown size)

As Visual C seems to have problems with this kind of forward declaration.

The symbol is declared in line 79, used in line 1238 and then defined in line 1496.

Could someone check in a patch, which will solve this issue?

Regards, ULFL
______________________________________________________________________________
Die Besten ihrer Klasse! WEB.DE FreeMail (1,7) und WEB.DE Club (1,9) -
bei der Stiftung Warentest - ein Doppelsieg! http://f.web.de/?mc=021184