On 22 Mar, Kay Schenk wrote:
> 
> On 03/21/2016 06:14 PM, Don Lewis wrote:
>> When building OpenOffice with recent versions of clang, an extreme
>> number of very verbose warnings are generated by the Boost headers,
>> which basically doubles the size of the build log.
>> 
>> For the FreeBSD port, which uses the system Boost (still 1.55 for now),
>> I fixed this by cherry picking a number of commits from more recent
>> versions of Boost and and adding them as patches to the Boost port.
>> This greatly reduces the noise level.
> 
> I like this approach as we already have a patch file for
> boost_1.55 in our source tree...
> 
> /main/boost/boost_1_55_0.patch
> 
> I would favor adding more boost patches to this existing
> patch file and submitting through BZ so we could test on
> additional platforms before permanently committing.

Ok, here it is: <https://bz.apache.org/ooo/show_bug.cgi?id=126888>

>> 
>> To fix this when building with the bundled Boost, we could import these
>> same patches.  Another possibility is to upgrade bundled Boost to 1.60,
>> which contains these fixes as well as a fixes for most (or all) of the
>> other problems that we currently patch.  The only problem that I've run
>> into when building OpenOffice trunk with Boost 1.60 was with the PDF
>> Import plugin, and I commited a fix for that in r1735889.
>> 
>> Thoughts?
> 
> I remember trying to use boost 1.56 from my system once upon
> a time and ran into all kinds of problems. I've been leary
> about using a newer version of boost ever since. In general,
> I'm not opposed to an upgrade like this but we would need
> more extensive testing with our distributed platforms first.
> And, that could take *a while*.

I've been involved in updating the FreeBSD boost port from 1.55 to 1.60.
I think it broke about 44 of 300 ports that use boost.  I didn't run
into any issues with OpenOffice 4.1.2 and only one build problem with
OpenOffice 4.2.0, and that was in the PDF import plugin, which the
official Apache OpenOffice builds will not enable.  I've already
committed a fix for that problem and I now get clean builds with 1.60.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to