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.

> 
> 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*.




-- 
--------------------------------------------
MzK

"Time spent with cats is never wasted."
                   -- Sigmund Freud

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

Reply via email to