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


https://bugs.freedesktop.org/show_bug.cgi?id=65108

--- Comment #12 from Stephan Bergmann <sbergman@redhat.com> ---
(In reply to comment #11)
I'd suggest my compromise: using "" for includes in the same directory as
the cxx file, and <> for everything else; clearly we'd need a script to
identify and re-write for those. Do we have such a thing ? :-)

A conforming compiler is not require to support #include <...> for anything but
the standard headers.  In practice, the compilers we use today do.  So, all
other things being equal, the safest thing to do would be to use #include "..."
for inclusion of all of LO's source files.

However, the odd behavior of MSVC described in comment 8,
<http://msdn.microsoft.com/en-us/library/36k2cdd4%28v=vs.80%29.aspx> "#include
Directive (C/C++)" can be used as an argument in favor of <...>.  Though I
would probably use <...> exclusively then, and not even stick to "..." for
inclusion of source files from the same directory.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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.