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


On 05/04/2015 10:49 PM, julien2412 wrote:
Concerning tdf#42949: "accelerating compile times by removing unnecessary
header #include" (see
https://bugs.documentfoundation.org/show_bug.cgi?id=42949) Since most of the
code is C++, could we consider that doing this would be ok:
- remove "include <stdio.h>" in every hxx/cxx file
- make clean && make (with enable-dbgutil)
- if ok, submit to review so Jenkins could test the patch in all the envs
(since I'd test this only on Linux)

or are there some tricks to consider for stdio use?

Nothing special about <stdio.h> (aka <cstdio>), feel free to remove it from every file where, by whatever mechanism, you can prove that it is not necessary to include. (Though it is unclear to me how much removing redundant includes of standard headers actually helps"accelerating compile times" in practice.)

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.