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



On Thu, 2012-06-21 at 13:47 +0200, Stephan Bergmann wrote:
    [ indeed, I'm sure there is one - but what is the benefit of separating
the .hdl files out, if we are sure that each .hpp will include all of
it's dependent .hpp's ? ].

Circular dependencies among headers.

        Interesting; it'd of course be great to reduce that wherever possible;
presumably for interfaces we could generate forward definitions of them
before the header / includes to avoid generating and including two files
where one would do. For structures clearly it's not possible to have two
in-line structures inside each other ;-) so presumably it works well
enough there already (?) what other cases are there ?

  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?
...
Feel free to make that into an EasyHack.

        I fixed them all with a simple script; it seems only one was actually
required in cppu/inc/com/sun/star/uno/Type.h

        ATB,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


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.