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

Re: [reSIProcate] Bug report - Incorrect define


Hi Thomas,

Thanks for the detailed bug report!  I've corrected this problem in SVN - rev 10255.

Scott Godin
www.sipspectrum.com

On Wed, Jul 3, 2013 at 10:20 AM, Thomas Troy <thomas.troy@xxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

 

I’ve found a bug when using the stream handling in the message class. It seems that the stream handling in Message.cxx has an incorrect use of the RESIP_USE_STL_STREAMS. When calling the “<<” operator on the message->brief() function this caused a crash  in our application.

 

25

#ifndef  RESIP_USE_STL_STREAMS

26

std::ostream&

 

It should either be a #ifdef, or the #ifndef should be moved to line 56 where it was previously placed, before being moved in r9367.

 

I did a search of the code and this appears to be the only place that I could see the define being incorrectly used.

 

Regards

Thom

Accuris Networks is a Private Limited Company registered in the Republic of Ireland.
Registered Number is 265266, with a registered office at O'Connell Bridge House, D'Olier St, Dublin 2.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.


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