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

Re: [reSIProcate] Errors compiling last release of rutil usingVS2005


Hi,
I tested last revision 10619.
If RESIP_USE_STL_STREAMS is defined all projects in reSIProcate_8_0.sln build 
successfully.
If RESIP_USE_STL_STREAMS is not defined reprolib doesn't build, but resip, dum, 
rutil and ares build successfully.
There is also an issue related to Cajun because json::Writer::Write() does not 
have methods that use EncodeStream (see the last error below).
I'm not interested to repro at the moment, but I prefer to highlight the 
problem in case others are interested.
I found some wrong settings for reprolib_8_0.vcproj, dum_8_0.vcproj and 
resiprocate_8_0.vcproj. I attached a .patch file to this mail.
Best regards,
Dario.

1>------ Build started: Project: reprolib, Configuration: Release Win32 ------
1>Compiling...
1>RequestContext.cxx
1>c:\dev.Resiprocate\main\repro/ForkControlMessage.hxx(42) : error C2679: 
binary '<<' : no operator found which takes a right-hand operand of type 
'resip::ResipFastOStream' (or there is no acceptable conversion)
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(370): could be 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
char *)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(377): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)' 
[found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(384): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(391): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
unsigned char *)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(398): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(405): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
signed char *)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(412): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
std::string &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Data.hxx(980): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::Data &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Data.hxx(982): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Data &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/BaseException.hxx(39): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::BaseException &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/BaseException.hxx(41): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::BaseException &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/QValueParameter.hxx(127): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::QValue &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/HeaderFieldValue.hxx(94): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream 
&,resip::HeaderFieldValue &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/LazyParser.hxx(156): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::LazyParser &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/LazyParser.hxx(161): or 
'std::ostream &resip::operator <<(std::ostream &,const resip::LazyParser &)' 
[found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/ParserCategory.hxx(300): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::ParserCategory &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(56): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Message &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(59): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Message::Brief &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(63): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::Message &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(66): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::Message::Brief &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/SecurityAttributes.hxx(100): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::SecurityAttributes &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Tuple.hxx(264): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Tuple &)' [found using argument-dependent lookup]
1>        c:\dev.resiprocate\main\resip\stack\Cookie.hxx(22): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Cookie &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(217): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::TransactionTimer &)' [found 
using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(222): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::TimerWithPayload &)' [found 
using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(228): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::TransactionTimer &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(233): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::TimerWithPayload &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/TransactionUser.hxx(240): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::TransactionUser &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/KeyValueStore.hxx(84): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::KeyValueStore &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/ConfigParse.hxx(71): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::ConfigParse &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/StatisticsMessage.hxx(92): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::StatisticsMessage::Payload &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Transport.hxx(374): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Transport &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/dns/DnsResourceRecord.hxx(25): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream 
&,resip::DnsResourceRecord &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/SipStack.hxx(1087): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::SipStack &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/SdpContents.hxx(165): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::SdpContents::Session::Codec &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Subsystem.hxx(62): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Subsystem &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\repro/Processor.hxx(55): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::Processor &)'
1>        c:\dev.Resiprocate\main\repro/ProcessorChain.hxx(31): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::ProcessorChain &)'
1>        c:\dev.Resiprocate\main\repro/Target.hxx(85): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::Target &)'
1>        c:\dev.Resiprocate\main\repro/ResponseContext.hxx(271): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::ResponseContext &)'
1>        c:\dev.Resiprocate\main\repro/RequestContext.hxx(117): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::RequestContext &)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(188): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(206): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(long)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(225): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(unsigned long)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(244): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int64)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(264): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(284): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(291): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(323): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(const void *)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(341): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(std::ostream 
&(__cdecl *)(std::ostream &))'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
resip::ResipFastOStream)'
1>QValueTargetHandler.cxx
1>c:\dev.Resiprocate\main\repro/ForkControlMessage.hxx(42) : error C2679: 
binary '<<' : no operator found which takes a right-hand operand of type 
'resip::ResipFastOStream' (or there is no acceptable conversion)
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(370): could be 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
char *)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(377): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)' 
[found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(384): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(391): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
unsigned char *)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(398): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(405): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
signed char *)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(412): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
std::string &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Data.hxx(980): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::Data &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Data.hxx(982): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Data &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/BaseException.hxx(39): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::BaseException &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/BaseException.hxx(41): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::BaseException &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/QValueParameter.hxx(127): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::QValue &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/HeaderFieldValue.hxx(94): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream 
&,resip::HeaderFieldValue &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/LazyParser.hxx(156): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::LazyParser &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/LazyParser.hxx(161): or 
'std::ostream &resip::operator <<(std::ostream &,const resip::LazyParser &)' 
[found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/ParserCategory.hxx(300): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::ParserCategory &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(56): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Message &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(59): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Message::Brief &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(63): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::Message &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Message.hxx(66): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::Message::Brief &)' [found using 
argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/SecurityAttributes.hxx(100): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::SecurityAttributes &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/Tuple.hxx(264): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Tuple &)' [found using argument-dependent lookup]
1>        c:\dev.resiprocate\main\resip\stack\Cookie.hxx(22): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::Cookie &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(217): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::TransactionTimer &)' [found 
using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(222): or 'std::ostream 
&resip::operator <<(std::ostream &,const resip::TimerWithPayload &)' [found 
using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(228): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::TransactionTimer &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/Timer.hxx(233): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::TimerWithPayload &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/KeyValueStore.hxx(84): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::KeyValueStore &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\rutil/ConfigParse.hxx(71): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::ConfigParse &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\resip/stack/TransactionUser.hxx(240): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,const 
resip::TransactionUser &)' [found using argument-dependent lookup]
1>        c:\dev.Resiprocate\main\repro/Processor.hxx(55): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::Processor &)'
1>        c:\dev.Resiprocate\main\repro/Target.hxx(85): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::Target &)'
1>        c:\dev.Resiprocate\main\repro/ResponseContext.hxx(271): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::ResponseContext &)'
1>        c:\dev.Resiprocate\main\repro/ProcessorChain.hxx(31): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::ProcessorChain &)'
1>        c:\dev.Resiprocate\main\repro/RequestContext.hxx(117): or 
'resip::ResipFastOStream &repro::operator <<(resip::ResipFastOStream &,const 
repro::RequestContext &)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(188): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(206): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(long)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(225): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(unsigned long)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(244): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int64)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(264): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(284): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(291): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(323): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(const void *)'
1>        c:\dev.Resiprocate\main\rutil/resipfaststreams.hxx(341): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(std::ostream 
&(__cdecl *)(std::ostream &))'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
resip::ResipFastOStream)'
1>AccountingCollector.cxx
1>.\AccountingCollector.cxx(644) : error C2665: 'json::Writer::Write' : none of 
the 7 overloads could convert all the argument types
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(41): could be 
'void json::Writer::Write(const json::Object &,std::ostream &)'
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(42): or 'void 
json::Writer::Write(const json::Array &,std::ostream &)'
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(43): or 'void 
json::Writer::Write(const json::String &,std::ostream &)'
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(44): or 'void 
json::Writer::Write(const json::Number &,std::ostream &)'
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(45): or 'void 
json::Writer::Write(const json::Boolean &,std::ostream &)'
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(46): or 'void 
json::Writer::Write(const json::Null &,std::ostream &)'
1>        
c:\dev.Resiprocate\main\contrib\cajun\include\cajun/json/writer.h(47): or 'void 
json::Writer::Write(const json::UnknownElement &,std::ostream &)'
1>        while trying to match the argument list '(json::Object, 
resip::DataStream)'
1>Generating Code...
1>Build log was saved at 
"file://c:\dev.Resiprocate\main\repro\Release\BuildLog.htm"
1>reprolib - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx 
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Dario Bozzali
Sent: martedì 1 ottobre 2013 11.14
To: Daniel Pocock
Cc: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Errors compiling last release of rutil usingVS2005

Hi Daniel,
I updated my repository to last revision (10617), but undefining 
RESIP_USE_STL_STREAMS macro in file resipfaststreams.hxx I'm still obtaining 
compiler error (if RESIP_USE_STL_STREAMS is defined it's ok).
I reported below the errors obtained compiling rutil.
I don't understand which one of the changes has introduced the issue.
Are you able to understand and fix it?
Regards,
Dario.


1>------ Build started: Project: rutil, Configuration: Release Win32 ------
1>Compiling...
1>XMLCursor.cxx
1>.\XMLCursor.cxx(387) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
const char)'
1>WinCompat.cxx
1>.\WinCompat.cxx(453) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
DWORD)'
1>.\WinCompat.cxx(463) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
DWORD)'
1>Time.cxx
1>.\Time.cxx(70) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>Random.cxx
1>.\Random.cxx(99) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::DataStream, DWORD)'
1>.\Random.cxx(100) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::DataStream, DWORD)'
1>.\Random.cxx(101) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::DataStream, DWORD)'
1>ParseBuffer.cxx
1>.\ParseBuffer.cxx(955) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>Log.cxx
1>.\Log.cxx(366) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
DWORD)'
1>GeneralCongestionManager.cxx
1>.\GeneralCongestionManager.cxx(157) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(238): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(218): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt64)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(182): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int32)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(176): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int16)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(352): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,signed 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
time_t)'
1>Data.cxx
1>.\Data.cxx(1252) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1262) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1266) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
unsigned char)'
1>.\Data.cxx(1326) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
unsigned char)'
1>.\Data.cxx(1332) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1336) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1390) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
unsigned char)'
1>.\Data.cxx(1410) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1417) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1424) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1431) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1438) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(Int8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(331): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
char)'
1>.\Data.cxx(1443) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
unsigned char)'
1>.\Data.cxx(1448) : error C2593: 'operator <<' is ambiguous
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 
'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(UInt8)'
1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338): or 
'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream &,unsigned 
char)'
1>        while trying to match the argument list '(resip::ResipFastOStream, 
unsigned char)'
1>Generating Code...
1>Build log was saved at 
"file://c:\dev.Resiprocate\main\rutil\Release\BuildLog.htm"
1>rutil - 24 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


-----Original Message-----
From: Daniel Pocock [mailto:daniel@xxxxxxxxxxxxx] 
Sent: lunedì 30 settembre 2013 20.54
To: Dario Bozzali
Cc: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Errors compiling last release of rutil using VS2005


Hi Dario,

Thanks for your patch, I've tweaked it slightly and committed each of
these fixes individually

FileSystem.cxx was broken by the merge, I've got no idea what went wrong
there or whether it was my svn client.  It appeared to be broken in
r10534 on the branch.

The code you removed from compat.hxx for users with HAVE_STDINT_H - I've
kept that in for now.  Do you define HAVE_STDINT_H in a Visual Studio
build?  That macro is usually only defined when autotools is used on a
Linux build.

The code in resipfaststreams.hxx could actually be further simplified,
on the basis that we are correctly supporting the stdint types now,
there is no need for separate implementations of the methods in that
header, so I've just done away with them rather than trying to patch the
Windows versions.

The stdint and inttypes files you gave me were duplicated somehow (each
file had the same content repeated), I've trimmed them down and included
them under rutil/msvc.

The only thing outstanding is the project file, the patch didn't apply
cleanly for me.  Could you please update to the latest code, let me know
if it works the way you expect and then try sending that patch alone?

Regards,

Daniel





On 30/09/13 20:01, Dario Bozzali wrote:
> Hi Daniel,
> 
> In compat.hxx I think that it should be better to check if
> __STDC_FORMAT_MACROS is already defined to avoid a warning due to macro
> redefinition.
> 
> #elifdefined(WIN32)
> 
> #include"rutil/ms/stdint.h"
> 
> *#if**!**defined**(__STDC_FORMAT_MACROS)*
> 
> #define __STDC_FORMAT_MACROS
> 
> *#endif*
> 
> #include"rutil/ms/inttypes.h"
> 
> #else
> 
> #error Failed to find or typedef fixed-size types, please add your
> platform to rutil/compat.hxx
> 
> #endif
> 
>  
> 
> Unfortunately I tried to comment out RESIP_USE_STL_STREAMS in
> resipfaststreams.hxx and I found a new error while compiling Data.cxx
> (see below).
> 
> I don't know the right way to solve this issue.
> 
>  
> 
> 1>------ Build started: Project: rutil, Configuration: Release Win32 ------
> 
> 1>Compiling...
> 
> 1>Data.cxx
> 
> 1>.\Data.cxx(1266) : error C2593: 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(383): or
> 'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream
> &,unsigned char)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, unsigned char)'
> 
> 1>.\Data.cxx(1326) : error C2593: 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(383): or
> 'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream
> &,unsigned char)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, unsigned char)'
> 
> 1>.\Data.cxx(1390) : error C2593: 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(383): or
> 'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream
> &,unsigned char)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, unsigned char)'
> 
> 1>.\Data.cxx(1443) : error C2593: 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(383): or
> 'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream
> &,unsigned char)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, unsigned char)'
> 
> 1>.\Data.cxx(1448) : error C2593: 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(383): or
> 'resip::ResipFastOStream &resip::operator <<(resip::ResipFastOStream
> &,unsigned char)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, unsigned char)'
> 
>  
> 
> Best regards,
> 
> Dario.
> 
>  
> 
> *From:*Dario Bozzali
> *Sent:* lunedì 30 settembre 2013 19.28
> *To:* 'Daniel Pocock'
> *Cc:* 'resiprocate-devel@xxxxxxxxxxxxxxx'
> *Subject:* RE: [reSIProcate] Errors compiling last release of rutil
> using VS2005
> 
>  
> 
> Hi Daniel,
> 
> Attached to this mail you can find a patch that uses stdint.h and
> inttypes.h from http://msinttypes.googlecode.com/svn/trunk/ in
> compat.hxx. I added a subdirectory ms under rutil.
> 
> I had to change also resipfaststreams.hxx since:
> 
> ·         ResipFastOStream& operator<<(uint32_t ul) failed with the
> following error:
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(210) : error C2535:
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(__w64
> unsigned int)' : member function already defined or declared
> 
> 1>            c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
> see declaration of 'resip::ResipFastOStream::operator <<'
> 
> ·         ResipFastOStream& operator<<(_W64 unsigned int ui) failed with
> the following error:
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(180) : error C2593:
> 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(290): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(double)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(283): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(float)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(245): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(unsigned
> __int64)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(228): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(__int64)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(int32_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(__w64
> unsigned int)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(int16_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(int8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
> 
> 1>            while trying to match the argument list
> '(resip::ResipFastOStream, unsigned long)'
> 
> I'm not sure of the changes, but in this way it compiles.
> 
> Moreover, I added some cast to avoid conversation warnings (UInt64 to
> UInt8) and I changed FileSystem.cxx since in
> FileSystem::Directory::iterator::iterator() mPath was assigned twice.
> 
> Thank you for your support and best regards,
> 
> Dario.
> 
>  
> 
> *From:*Dario Bozzali
> *Sent:* lunedì 30 settembre 2013 18.52
> *To:* 'Daniel Pocock'
> *Cc:* resiprocate-devel@xxxxxxxxxxxxxxx
> <mailto:resiprocate-devel@xxxxxxxxxxxxxxx>
> *Subject:* RE: [reSIProcate] Errors compiling last release of rutil
> using VS2005
> 
>  
> 
> Hi Daniel,
> 
> The patch is not sufficient, there are still errors for other types (see
> below).
> 
> Maybe we could use the files that are available in
> http://msinttypes.googlecode.com/svn/trunk/.
> 
> I downloaded them and I tried to include in compat.hxx, but there are
> still errors.
> 
> I'll provide more details as soon as possible.
> 
> Ragards,
> 
> Dario.
> 
>  
> 
> 1>------ Build started: Project: rutil, Configuration: Debug Win32 ------
> 
> 1>Compiling...
> 
> 1>AresDns.cxx
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(294) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(295) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(296) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(297) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(298) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(299) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(300) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(301) : warning C4244: '=' :
> conversion from 'const UInt64' to 'UInt8', possible loss of data
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158) : error C2061:
> syntax error : identifier 'int8_t'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(159) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(159) : error C2333:
> 'resip::ResipFastOStream::operator <<' : error in function declaration;
> skipping function body
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170) : error C2061:
> syntax error : identifier 'int16_t'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(172) : error C2059:
> syntax error : 'this'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(172) : error C2238:
> unexpected token(s) preceding ';'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(173) : error C2059:
> syntax error : 'return'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(173) : error C2238:
> unexpected token(s) preceding ';'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : error C2512:
> 'resip::ResipFastOStream' : no appropriate default constructor available
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(99) : error C2614:
> 'resip::ResipFastOStream' : illegal member initialization: 'buf_' is not
> a base or member
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(116) : error C2065:
> 'buf_' : undeclared identifier
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(154) : error C2593:
> 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, int32_t)'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(166) : error C2593:
> 'operator <<' is ambiguous
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could
> be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)'
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or
> 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
> 
> 1>        while trying to match the argument list
> '(resip::ResipFastOStream, uint32_t)'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(180) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(181) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(195) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(202) : error C2065:
> 'good_' : undeclared identifier
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(205) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(212) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(217) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(222) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(230) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(235) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(240) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(247) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(253) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(258) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(283) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(285) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(292) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(312) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(317) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(324) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(330) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(335) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error C2803:
> 'operator <<' must have at least one formal parameter of class type
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error C2805:
> binary 'operator <<' has too few parameters
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(345) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(350) : error C2227:
> left of '->writebuf' must point to class/struct/union/generic type
> 
> 1>        type is ''unknown-type''
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(359) : error C2673:
> 'resip::operator <<' : global functions do not have 'this' pointers
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(362) : error C2059:
> syntax error : 'private'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2433:
> 'resip::ResipFastOStream' : 'inline' not permitted on data declarations
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2065:
> 'ostr' : undeclared identifier
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2059:
> syntax error : 'const'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(368) : error C2143:
> syntax error : missing ';' before '{'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(368) : error C2447:
> '{' : missing function header (old-style formal list?)
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2433:
> 'resip::ResipFastOStream' : 'inline' not permitted on data declarations
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2062:
> type 'char' unexpected
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(375) : error C2143:
> syntax error : missing ';' before '{'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(375) : error C2447:
> '{' : missing function header (old-style formal list?)
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2433:
> 'resip::ResipFastOStream' : 'inline' not permitted on data declarations
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2062:
> type 'unsigned char' unexpected
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(382) : error C2143:
> syntax error : missing ';' before '{'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(382) : error C2447:
> '{' : missing function header (old-style formal list?)
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2433:
> 'resip::ResipFastOStream' : 'inline' not permitted on data declarations
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2371:
> 'resip::ResipFastOStream' : redefinition; different basic types
> 
> 1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see
> declaration of 'resip::ResipFastOStream'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2059:
> syntax error : 'const'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(389) : error C2143:
> syntax error : missing ';' before '{'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(389) : error C2447:
> '{' : missing function header (old-style formal list?)
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(395) : error C2143:
> syntax error : missing ';' before '&'
> 
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(395) : fatal error
> C1003: error count exceeds 100; stopping compilation
> 
>  
> 
> *From:*Daniel Pocock [mailto:daniel@xxxxxxxxxxxxx]
> *Sent:* lunedì 30 settembre 2013 17.59
> *To:* Dario Bozzali
> *Cc:* resiprocate-devel@xxxxxxxxxxxxxxx
> <mailto:resiprocate-devel@xxxxxxxxxxxxxxx>
> *Subject:* Re: [reSIProcate] Errors compiling last release of rutil
> using VS2005
> 
>  
> 
> 
> Please try r10608 and let me know if it helps - it should work even if
> you don't have stdint.h
> 
> Apparently Microsoft doesn't provide inttypes.h and stdint.h but there
> are full equivalents available for Windows users so we could just add
> one of those into the repository if we need more than these definitions.
> 
> 
> On 30/09/13 17:44, Daniel Pocock wrote:
> 
>     On 30/09/13 17:09, Dario Bozzali wrote:
> 
>         Hi all,
> 
>         I have updated my repository of Resiprocate sources to headline
>         and I have tried to compile using reSIProcate_8_0.sln.
> 
>         I'm encountering several errors while compiling due (I suppose)
>         to last changes to rutil/compat.hxx.
> 
>         I reported below an excerpt of output from Visual Studio 2005.
> 
>         Can anybody give some hints?
> 
> 
>     I have VS Express 2010, can you let me know if VS 2005 has stdint.h
>     and inttypes.h?
> 
>     Thank you in advance and kind regards,
> 
>     Dario.
> 
>      
> 
>      
> 
>     1>------ Build started: Project: rutil, Configuration: Debug Win32
>     ------
> 
>     1>Compiling...
> 
>     1>AresDns.cxx
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(209) : error C2146:
>     syntax error : missing ';' before identifier 'UInt8'
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(209) : error C4430:
>     missing type specifier - int assumed. Note: C++ does not support
>     default-int
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(209) : error C4430:
>     missing type specifier - int assumed. Note: C++ does not support
>     default-int
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(210) : error C2146:
>     syntax error : missing ';' before identifier 'UInt16'
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(210) : error C4430:
>     missing type specifier - int assumed. Note: C++ does not support
>     default-int
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(210) : error C4430:
>     missing type specifier - int assumed. Note: C++ does not support
>     default-int
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(212) : error C2146:
>     syntax error : missing ';' before identifier 'Int32'
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(212) : error C4430:
>     missing type specifier - int assumed. Note: C++ does not support
>     default-int
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(212) : error C4430:
>     missing type specifier - int assumed. Note: C++ does not support
>     default-int
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(283) : error C2065:
>     'data' : undeclared identifier
> 
>     1>c:\dev.resiprocate\main\rutil\compat.hxx(283) : error C2059:
>     syntax error : ')'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158) : error
>     C2061: syntax error : identifier 'int8_t'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(159) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(159) : error
>     C2333: 'resip::ResipFastOStream::operator <<' : error in function
>     declaration; skipping function body
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170) : error
>     C2061: syntax error : identifier 'int16_t'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(172) : error
>     C2059: syntax error : 'this'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(172) : error
>     C2238: unexpected token(s) preceding ';'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(173) : error
>     C2059: syntax error : 'return'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(173) : error
>     C2238: unexpected token(s) preceding ';'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : error
>     C2512: 'resip::ResipFastOStream' : no appropriate default
>     constructor available
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(99) : error
>     C2614: 'resip::ResipFastOStream' : illegal member initialization:
>     'buf_' is not a base or member
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(116) : error
>     C2065: 'buf_' : undeclared identifier
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(166) : error
>     C2593: 'operator <<' is ambiguous
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164):
>     could be 'resip::ResipFastOStream &resip::ResipFastOStream::operator
>     <<(uint8_t)'
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151):
>     or 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)'
> 
>     1>        while trying to match the argument list
>     '(resip::ResipFastOStream, uint32_t)'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(180) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(181) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(195) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(198) : error
>     C2146: syntax error : missing ')' before identifier 'PRIi32'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(198) : error
>     C2059: syntax error : ')'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(202) : error
>     C2065: 'good_' : undeclared identifier
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(205) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(212) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(215) : error
>     C2146: syntax error : missing ')' before identifier 'PRId32'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(215) : error
>     C2059: syntax error : ')'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(217) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(222) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(230) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(233) : error
>     C2146: syntax error : missing ')' before identifier 'PRId64'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(233) : error
>     C2059: syntax error : ')'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(235) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(240) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(247) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(251) : error
>     C2146: syntax error : missing ')' before identifier 'PRIu64'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(251) : error
>     C2059: syntax error : ')'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(253) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(258) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(283) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(285) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(292) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(312) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(317) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(324) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(330) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(335) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error
>     C2803: 'operator <<' must have at least one formal parameter of
>     class type
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error
>     C2805: binary 'operator <<' has too few parameters
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(345) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(350) : error
>     C2227: left of '->writebuf' must point to class/struct/union/generic
>     type
> 
>     1>        type is ''unknown-type''
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(359) : error
>     C2673: 'resip::operator <<' : global functions do not have 'this'
>     pointers
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(362) : error
>     C2059: syntax error : 'private'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error
>     C2433: 'resip::ResipFastOStream' : 'inline' not permitted on data
>     declarations
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error
>     C2065: 'ostr' : undeclared identifier
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error
>     C2059: syntax error : 'const'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(368) : error
>     C2143: syntax error : missing ';' before '{'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(368) : error
>     C2447: '{' : missing function header (old-style formal list?)
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error
>     C2433: 'resip::ResipFastOStream' : 'inline' not permitted on data
>     declarations
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error
>     C4430: missing type specifier - int assumed. Note: C++ does not
>     support default-int
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error
>     C2371: 'resip::ResipFastOStream' : redefinition; different basic types
> 
>     1>        c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) :
>     see declaration of 'resip::ResipFastOStream'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error
>     C2062: type 'char' unexpected
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(375) : error
>     C2143: syntax error : missing ';' before '{'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(375) : error
>     C2447: '{' : missing function header (old-style formal list?)
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error
>     C2143: syntax error : missing ';' before '&'
> 
>     1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : fatal
>     error C1003: error count exceeds 100; stopping compilation
> 
>      
> 
>     _______________________________________________
> 
>     resiprocate-devel mailing list
> 
>     resiprocate-devel@xxxxxxxxxxxxxxx 
> <mailto:resiprocate-devel@xxxxxxxxxxxxxxx>
> 
>     https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
> 
> 
> 
>     _______________________________________________
> 
>     resiprocate-devel mailing list
> 
>     resiprocate-devel@xxxxxxxxxxxxxxx 
> <mailto:resiprocate-devel@xxxxxxxxxxxxxxx>
> 
>     https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
> 
>  
> 

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel

Attachment: resip_vs2005.patch
Description: resip_vs2005.patch