[reSIProcate] Compile error in CpimContents (revision 8597)

Adam Roach adam at nostrum.com
Mon Sep 14 08:20:01 CDT 2009


Good catch. I've committed the change. Thanks.

/a

On 9/14/09 04:52, Sep 14, Dario Bozzali wrote:
> Hello,
> I've updated my Resiprocate repository with latest version (revision
> 8597) and I noticed an isssue while compiling CpimContents.
>
> In particular in CpimContents.hxx encodeParsed() is declared in the
> following manner:
> 	virtual std::ostream&  encodeParsed(std::ostream&  str) const;
> But actually it should declared as:
> 	virtual EncodeStream&  encode(EncodeStream&  stream) const;
> In fact if RESIP_USE_STL_STREAMS is not defined in resipfaststreams.hxx
> it doesn't compile.
>
> A similar issue is present in FloatParameter.hxx since encode() is
> declared as:
> 	virtual std::ostream&  encode(std::ostream&  stream) const;
> But it should be declared as:
> 	virtual EncodeStream&  encode(EncodeStream&  stream) const;
>
> Moreover also FloatParameter.cxx should be changed from:
> 	ostream&  FloatParameter::encode(ostream&  stream) const
> To:
> 	EncodeStream&  FloatParameter::encode(EncodeStream&  stream) const
>
> Best regards,
> Dario Bozzali
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>    




More information about the resiprocate-devel mailing list