Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 06/20/2012 05:15 PM, Michael Meeks wrote:
        if a .idl file is changed is there any circumstance where the .hpp
and .hdl will not both be updated in lock-step.

IIRC, the logic of cppumaker is to first generate temporary .hpp and .hdl files and only copy them over existing ones in solver if they are actually different. That way, it should easily happen that a .hdl file is updated while the corresponding .hpp file is not. (For example, when a method is added to an interface and cppumaker is not running in "comprehensive type information" mode; or when a bug in cppumaker is fixed affecting .hdl but not .hpp output).

        Also - do all IDL generated .hpp deps ultimately include all the .hdl

Each .hpp file includes the corresponding .hdl file (if any), yes.

files as well ? ie. we could simply elide \.hdl$ from all dependency
files ? - which might knock 25% off our deps at a very trivial stroke.

That would be unsound (see above).

        Then again a small number of files include .hdl files directly; is that
a bug ? :-)

Looks like a bug, yes.  Care to share the list?

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.