[Libreoffice-commits] core.git: XMLSEC_NO_SIZE_T is /not/ used with MSVC

Stephan Bergmann sbergman at redhat.com
Tue Mar 1 15:54:16 UTC 2016


On 03/01/2016 09:47 AM, Stephan Bergmann wrote:
> On 03/01/2016 03:40 AM, Ashod Nakashian wrote:
>> Perhaps if you shed some light on what you are addressing I might be
>> able to come with a solution?
>
> What is required is that no xmlsec/* ever get included from outside of
> xmlsecurity/xmlsec-wrapper.h (because the latter controls a macro that
> the former #if on).  That means that no xmlsec/* may show up in a
> precompiled_*.hxx.  Whether or not xmlsecurity/xmlsec-wrapper.h shows up
> in a precompiled_*.hxx is irrelevant for correctness, so whichever is
> easier to implement in update_pch should be fine.  (I just arbitrarily
> did include it in my manual modifications of
> xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx to approximate what was
> there before.)

Solution got merged as <https://gerrit.libreoffice.org/#/c/22811/> 
"Exclude xmlsec headers from precompiled headers" now.  Thanks!


More information about the LibreOffice mailing list