[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with ns-2.1b6-current's channel.cc



I can't compile ns-2.1b6-current, as of today, on Win `98 using MSVC++ 6.0p2. One main problem is the following line in channel.cc:

     MobileNode **outlist = new (MobileNode *)[size];

The problem is this:

channel.cc(164) : error C2143: syntax error : missing ';' before '['
channel.cc(164) : error C2143: syntax error : missing ';' before '['

Any hints?

I'll go test with egcs-1.1.2 under linux...

/ChJ
BEGIN:VCARD
VERSION:2.1
N:J�nsson;Christian
FN:Christian J�nsson
ORG:Sweden's Defence Research Establishment;Dept of Comm Syst
TITLE:Researcher
TEL;WORK;VOICE:+46 13 37 81 05
TEL;HOME;VOICE:+46 13 21 19 20
TEL;CELL;VOICE:+46 70 575 61 06
TEL;WORK;FAX:+46 13 37 80 49
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;V2.212;P.O. Box 1165=0D=0A;;;SE-581 11  LINK=D6PING;Sverige
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:V2.212=0D=0AP.O. Box 1165=0D=0A=0D=0ASE-581 11  LINK=D6PING=0D=0ASverige
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;Storskiftesgatan 103=0D=0A=0D=0A;;;SE-583 34  LINK=D6PING;Sverige
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Storskiftesgatan 103=0D=0A=0D=0A=0D=0ASE-583 34  LINK=D6PING=0D=0ASverige
X-WAB-GENDER:2
URL:
URL:http://www.foa.se
BDAY:19991208
EMAIL;PREF;INTERNET:[email protected]
REV:19990522T213851Z
END:VCARD