Le 12/10/2020 à 15:51, Pavel Sanda a écrit :
Getting rid of unnecessary includes is a valuable goal. There are two things to keep in mind: - One should try to get rid of redundant includes from headers first, only after that reducing .cpp files (otherwise the check of .h files becomes more tricky). - some generic headers were included as a consequence of different dependencies on different gcc versions or exotic architectures..
Note however that only removal of system includes or Qt includes may be a problem. Removal of our own classes or includes should be fine.
JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel