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

Re: [reSIProcate] Compile error in CpimContents (revision 8597)


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@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel