< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] resiprocate does not compile with VC6


Hi Jason,

  Thanks, I am trying the new version. hope you can release a 0.5.0 tar-ball
soon.

  Ling

-----Original Message-----
From: Jason Fischl [mailto:jason@xxxxxxxxxxxxxx]
Sent: 2004年7月26日 13:59
To: Qian, Ling (Ling); resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [reSIProcate] resiprocate does not compile with VC6


If possible you should work off of the version of the code in subversion
instead of using 0.4 tarball. The Preparse.cxx file is no longer used and
has been removed from subversion.

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf
> Of Qian, Ling (Ling)
> Sent: Sunday, July 25, 2004 10:30 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] resiprocate does not compile with VC6
>
>
> Hi All,
>
>   I have read previous posting on compile resip with VC6. however
> there are still errors, like this:
>
> --------------------Configuration: resiprocate - Win32
> Debug--------------------
> Compiling...
> Preparse.cxx
> e:\myphone\resiprocate-0.4.0\resiprocate\preparse.cxx(71) : error C2061:
> syntax error : identifier 'mTransitionTable'
> e:\myphone\resiprocate-0.4.0\resiprocate\preparse.cxx(73) : error C2228:
> left of '.nextState' must have class/struct/union type
> e:\myphone\resiprocate-0.4.0\resiprocate\preparse.cxx(74) : error C2228:
> left of '.workMask' must have class/struct/union type
> Error executing cl.exe.
>
> Preparse.obj - 3 error(s), 0 warning(s)
>
> --------------- The piece of code in Preparse.cxx is listed:
>     for(int st = stateStart ; st < stateEnd ; st++)
>         for(int di = dispStart ; di < dispEnd ; di++)
>             for(int ch = charStart ; ch < charEnd ; ch++)
>             {
>                 Edge& edge( mTransitionTable[st][di][ch] ); <----- Error
> lines
>                 edge.nextState = next;
>                 edge.workMask = workMask;
>             }
>
> -------------
>
> I change the errored line to
>                 Edge edge( mTransitionTable[st][di][ch] );
>
> and VC6 does not complain this time, Can I change it this way? or
> can anyone
> tell me
> what does the "&" mean?
>
> Thanks in advance!
>
>
> ~~~~心~~~明~~~妙~~~现~~~~
>     Qian Ling, MTS
>     Bell Labs Research China
>     +8610-68748088 ext. 8574
>     http://qlw.xiloo.com
> ~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>