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

[reSIProcate] Compile error in CpimContents (revision 8597)


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