[Live-devel] Breaking change

Nikolai Vorontsov nikolai.vorontsov at quadrox.be
Mon Mar 11 07:28:56 PDT 2013


Hi Ross,
 
may be the easiest solution for such issue is to wrap all Live555
functionality in a namespace? And place "using namespace Live555;"
somewhere in it's header. 
Then people that uses boost (or any other library that clashes with your
lib by internal names/types) should not have a problem...
 
Nikolai

________________________________

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Jeff Shanab
Sent: Monday, March 11, 2013 2:27 PM
To: live-devel at lists.live555.com
Subject: [Live-devel] Breaking change



 

I am updating live555 from 2012.2.29 to 2013.03.07 and found a change in
Boolean.hh that breaks my build. From reading the changelog, I think
this is recent.

 

The line 

    " #define Boolean bool "

 

Overwrites a class name in boost  (move.cpp)  where there is a class
with the name Boolean

 

In the past I have had this collide with libavcodec. So I end up
modifying this file every time I upgrade. 

Is the problem  a tough one to fix for live555?  too many years of too
many people doing their own thing. (amazing for only two states how many
conflicting definitions there are)

 

Is there a long term solution? Take it out of preprocessing with a
typedef? Or *cough* rework live555 to have it's own bool type and one
header to map that to all the platforms?

 

I just remove the second part of the condition so it disables the first
case (lines 20-22), But I have not used Borland for years.

 

 

 

   Jeff Shanab, Manager-Software Engineering

   D 630.633.4515 | C 630.453.7764 | F 630.633.4815 | 
jshanab at smartwire.com

 

 

This message and any attachments contain confidential and proprietary
information, and may contain privileged information, belonging to one or
more affiliates of Windy City Wire Cable & Technology Products, LLC. No
privilege is waived by this transmission. Unauthorized use, copying or
disclosure of such information is prohibited and may be unlawful. If you
receive this message in error, please delete it from your system,
destroy any printouts or copies of it, and notify the sender immediately
by e-mail or phone.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130311/2a990f05/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 18265 bytes
Desc: image001.gif
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130311/2a990f05/attachment-0001.gif>


More information about the live-devel mailing list