Errors in the PJSUA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thanks lot for your immediate response. Yes they are warnings and I can neglect them for now. These errors are pointed to circbuf.h file and to the line 
*reg1_len = circbuf->buf + circbuf->capacity - circbuf->start; and *reg2_len = circbuf->start - circbuf->buf; in the method PJ_INLINE(void) pjmedia_circ_buf_get_write_regions function. It also gives 3 errors like below.
                     error C2276: '&' : illegal operation on bound member function expression.
All three errors are as above and each one pointed to following lines in the main method respectively.
        cfg.cb.on_incoming_call = &on_incoming_call;
        cfg.cb.on_call_media_state = &on_call_media_state;
        cfg.cb.on_call_state = &on_call_state;
Can you pls help me on these errors. Are they occurs since I use this in a .net application? Do I need any wrapper? I saw an example of wrapper given in the web site. But it is for C#.net. Can I use that wrapper or anything similar to that in my visual C++.net application?

Regards,
Piyumali




________________________________
From: Nanang Izzuddin <nanang@xxxxxxxxx>
To: pjsip list <pjsip at lists.pjsip.org>
Sent: Monday, November 10, 2008 8:08:44 PM
Subject: Re: Errors in the PJSUA

Hi,

Could you be more specific on file & line number? I could not find
such warning here. Moreover, I think it's 'just' a warning not an
error, so it shouldn't stop the build (with existing default project
setting for MS VC++).

Regards,
nanang


On Mon, Nov 10, 2008 at 5:57 PM, piyumali pathirage
<piyumali2004 at yahoo.com> wrote:
> Dear All,
>
> I tried to build the Sample "Simple PJSUA". But when I compiled it it gives
> errors saying "warning C4244: '=' : conversion from '__w64 int' to 'unsigned
> int', possible loss of data". What is this error? How can I solve that. I'm
> going to integrate this sip stack with an application written in Visual
> C++.net. Can I do it directly without any wrapper? Is this error occurs
> since I use it in visual C++.net?
> Please give me an idea..
> Thank You.
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081110/2672cfea/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux