| Summary: | [PATCH] Build fail when using -std=gnu++0x and recent boost | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Hristo Venev <mustrumr97> |
| Component: | Installation | Assignee: | 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 |
||
Bump. Still broken in 4.0.3.3 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!
Thank you. |
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.