https://bugs.freedesktop.org/show_bug.cgi?id=65108
--- Comment #17 from Norbert Thiebaud <nthiebaud@gmail.com> ---
I would favor that the whole source tree be cleaned-up to whatever 'norm' is
agreed upon.
There are 3 proposed scheme, as I read it:
1/ use "" systematically (well except for <stdio> <assert> and other true
system include I suspect....
2/ use <> systematically
3/ use "" for 'local' include, i.e in the same directory than the cxx and <>
for the rest
4/ use "" for include private to the module you are in and <> for include that
are 'public' header (iow system from the point of view of other module)
I favor 4/ because a/ that does solve the original pch problem b/ that convey a
useful semantic content to the reader of the code: where is the include in
question supposed to be.
iow in 'standard speak' considering $(SRCDIR)/include as a system include path
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Bug 65108] Clean-up header includes (global/local) · bugzilla-daemon
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.