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


On 10/09/2017 11:23 AM, Stephan Bergmann wrote:
On 10/09/2017 10:29 AM, Stephan Bergmann wrote:
On 10/06/2017 11:26 AM, Kaganski Mike wrote:
3. *Always* use "" syntax *only* for includes that refer to headers
placed next to the current source in the same directory (or
subdirectories), i.e. that would be found using the "." entry of -I
switch. These are implementation headers. This applies to both includes
in c[xx] files as well as in h[xx] residing in directories like
/sw/source/core/access (as opposed to those in /sw/inc).

Does that mean that once you're done we can stop adding -I. to SOLARINC in configure.ac?  (Also, it's unclear to me what

   -I$(dir $(3))

in gb_CObject__command_pattern in solenv/gbuild/platform/com_{GCC,MSC}_class.mk is good for, and whether it could then be dropped, too.)

Seeing that both solenv/gbuild/platform/com_{GCC_defs,MSC_class}.mk already drop SOLARINC's -I. from gb_LinkTarget_INCLUDE, it is probably rather the latter -I$(dir $(3)) that can be dropped from gb_CObject__command_pattern in solenv/gbuild/platform/com_{GCC,MSC}_class.mk once you're done.

meanwhile done with <https://cgit.freedesktop.org/libreoffice/core/commit/?id=ecbaf980625a9e7b06abe91c7c70e78f6ad469a7> "-I$(dir $(3)) in gb_CObject__command_pattern is no longer needed" and <https://cgit.freedesktop.org/libreoffice/core/commit/?id=f218f8f6c8c587d2d78679f935093329f145fede> "-I$(dir $(3)) in gb_CObject__command_pattern is no longer needed"

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.