https://bugs.documentfoundation.org/show_bug.cgi?id=146619

            Bug ID: 146619
           Summary: Removed unused #includes from C/C++ files
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: difficultyBeginner, easyHack, skillCpp, topicCleanup
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

While the source code is changed constantly, there are situations that some
unused include remain in the C/C++ files.

In order to speed up the compilation, it is good to remove such includes.
Finding those superfluous #includes is not straightforward, but there are many
tricks and tools to do that. For example, please see these question and
answers:

Detecting superfluous #includes in C/C++?
https://stackoverflow.com/questions/614794

How should I detect unnecessary #include files in a large C++ project?
https://stackoverflow.com/questions/74326

For this EasyHack, you should find such instances, remove them and after that
LibreOffice source code should compile successfully, and all the tests should
pass.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to