[Live-devel] Breaking change

Jeff Shanab jshanab at smartwire.com
Mon Mar 11 06:27:03 PDT 2013


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<mailto:jshanab at smartwire.com>
[MVSSig]


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/6b6b44e6/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/6b6b44e6/attachment-0001.gif>


More information about the live-devel mailing list