[reSIProcate] resiprocate does not compile with VC6

Jason Fischl jason at purplecomm.com
Mon Jul 26 00:58:45 CDT 2004


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 at list.sipfoundry.org
> [mailto:resiprocate-devel-bounces at list.sipfoundry.org]On Behalf
> Of Qian, Ling (Ling)
> Sent: Sunday, July 25, 2004 10:30 PM
> To: resiprocate-devel at list.sipfoundry.org
> 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 at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>





More information about the resiprocate-devel mailing list