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

RE: [reSIProcate] gcc-3.4 support


Thanks. I applied both of your patches and checked them in.

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf Of
> Dmitry Semyonov
> Sent: Wednesday, July 21, 2004 9:19 AM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate] gcc-3.4 support
>
>
> On Wed, 21 Jul 2004, Dmitry Semyonov wrote:
>
> > Unfortunately, there are some other errors which prevent compilation
> > with gcc-3.4.1. I'm currently looking into them.
>
> Well, here is the patch.
> I'm not sure what to blame though - gcc or invalid code...
>
> Without the patch gcc produced a lot of errors like:
>
> ../../resiprocate/ParserCategory.hxx: In member function
> `resip::SipMessage*
> resip::Dialog::makeResponse(const resip::SipMessage&, int)':
> ../../resiprocate/ParserCategory.hxx:118: error:
> `resip::Data&
> resip::ParserCategory::param(const resip::tag_Param&)' is inaccessible
> ../../resiprocate/Dialog.cxx:72: error: within this context
>
>
> Index: resiprocate/sip/resiprocate/NameAddr.hxx
> ===================================================================
> --- resiprocate/sip/resiprocate/NameAddr.hxx  (revision 3135)
> +++ resiprocate/sip/resiprocate/NameAddr.hxx  (working copy)
> @@ -47,9 +47,10 @@
>        mutable Data mDisplayName;
>
>     private:
> -#if ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) )
> +#if ( (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) && (__GNUC_MINOR__ <= 3) )
>        //disallow the following parameters from being accessed in NameAddr
>        //this works on gcc 3.2 so far. definitely does not work
> on gcc 2.95 on qnx
> +      //as well as on gcc 3.4.0 and 3.4.1
>        using ParserCategory::param;
>        transport_Param::DType& param(const transport_Param&
> paramType) const;
>        method_Param::DType& param(const method_Param& paramType) const;
>
>
> ...Bye..Dmitry.
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>