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.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to