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

Re: [reSIProcate] DataStream and fast stream modifications


Check in a fix for VC 7.1. I do not have a copy of this version handy so let
me know if there are any further issues.

Thanks,

-justin

-----Original Message-----
From: Jeremy Geras [mailto:jgeras@xxxxxxxxxxxxxxx] 
Sent: Thursday, August 14, 2008 8:22 PM
To: Justin Matthews; 'Byron Campen'; 'resiprocate-devel'
Subject: RE: [reSIProcate] DataStream and fast stream modifications

I've noticed that since rev 8161 (the stream performance enhancements), we
no longer compile with VS.NET 2003 (VC++ 7.1).

Looks like it's due to usage of _i64toa_s, _ui64toa_s (at least in part).
These are likely from a newer version of the C runtime than what comes with
VC++ 7.1

------ Build started: Project: rutil, Configuration: Debug Win32 ------

Compiling...
WinCompat.cxx
e:\src\resiprocate\main\rutil\resipfaststreams.hxx(70) : warning C4005:
'_CVTBUFSIZE' : macro redefinition
        c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\stdlib.h(352) : see previous definition of '_CVTBUFSIZE'
e:\src\resiprocate\main\rutil\resipfaststreams.hxx(221) : error C3861:
'_i64toa_s': identifier not found, even with argument-dependent lookup
e:\src\resiprocate\main\rutil\resipfaststreams.hxx(239) : error C3861:
'_ui64toa_s': identifier not found, even with argument-dependent lookup
e:\src\resiprocate\main\rutil\resipfaststreams.hxx(284) : error C2065: 'num'
: undeclared identifier
e:\src\resiprocate\main\rutil\resipfaststreams.hxx(302) : error C2065:
'_TRUNCATE' : undeclared identifier



 - Jeremy -


> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Justin Matthews
> Sent: Thursday, August 14, 2008 13:16
> To: 'Byron Campen'; 'resiprocate-devel'
> Subject: Re: [reSIProcate] DataStream and fast stream modifications
>
> Thanks Byron. The testParserCategories was my bad.  It doesn't look
> like the
> fast streams is causing any other issues (it should be completely
> disabled
> by default), let me know if there are any other issues.
>
> -justin
>
> -----Original Message-----
> From: Byron Campen [mailto:bcampen@xxxxxxxxxxxx]
> Sent: Thursday, August 14, 2008 3:42 PM
> To: resiprocate-devel
> Cc: Justin Matthews
> Subject: DataStream and fast stream modifications
>
>         make check started failing on mainline resip in revs 8161 and
> 8162
> (the fast-stream modifications). testDigestAuthentication and
> testParserCategories are both failing. It appears that this is being
> caused by lack of calls to DataStream::flush() in the test-cases, but
> I will see if this is the entire problem.
>
> Best regards,
> Byron Campen
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel