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

[reSIProcate] Compile error in CpimContents (revision 8597)


Sorry,
In the previous mail I made a mistake.
Obviously CpimContents.hxx must be changed using the following declaration, 
since encodeParsed() and not encode() declaration must be changed:
        virtual EncodeStream& encodeParsed(EncodeStream& str) const

Best regards,
Dario Bozzali

________________________________


-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx 
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Dario Bozzali
Sent: lunedì 14 settembre 2009 11.53
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Subject: [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

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