Bug 63629

Summary: [PATCH] Build fail when using -std=gnu++0x and recent boost
Product: LibreOffice Reporter: Hristo Venev <mustrumr97>
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: blocker Keywords: patch
Priority: medium    
Version: 4.0.3.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Fix
Revised fix

Description Hristo Venev 2013-04-17 09:21:38 UTC
Created attachment 78127 [details]
Fix

In recent versions of boost when using c++11 the cast from shared_ptr to bool is explicit. My fix adds a few static_cast<bool>(...)'s.
Comment 1 Hristo Venev 2013-04-24 07:55:03 UTC
Bump.
Comment 2 Hristo Venev 2013-05-16 20:40:44 UTC
Still broken in 4.0.3.3
Comment 3 Hristo Venev 2013-05-17 06:31:58 UTC
Created attachment 79453 [details]
Revised fix

The patch was modifying a copy of a header file so couldn't apply to a clean source tree. Here is the new patch, which applies cleanly to 4.0.3.3. You can see it does no harm so I just need someone to apply it. Please!
Comment 4 Hristo Venev 2013-06-20 17:30:20 UTC
Thank you.