Bug 63629 - [PATCH] Build fail when using -std=gnu++0x and recent boost
Summary: [PATCH] Build fail when using -std=gnu++0x and recent boost
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.0.3.3 release
Hardware: All All
: medium blocker
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2013-04-17 09:21 UTC by Hristo Venev
Modified: 2013-06-20 17:30 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Fix (5.19 KB, text/plain)
2013-04-17 09:21 UTC, Hristo Venev
Details
Revised fix (5.17 KB, patch)
2013-05-17 06:31 UTC, Hristo Venev
Details

Note You need to log in before you can comment on or make changes to this bug.
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.