[Libreoffice] per-library types headers ...
Noel Grandin
noel at peralex.com
Tue Sep 27 04:24:16 PDT 2011
Did some quick research on this topic:
(1) Nice pragma trick for making this problem show up at compile time:
http://stackoverflow.com/questions/74326/how-should-i-detect-unnecessary-include-files-in-a-large-c-project/109890#109890
(2) There is a tool based on clang that can detect unused includes:
http://code.google.com/p/include-what-you-use/
(3) The cppclean project also does some detection of unused includes:
http://code.google.com/p/cppclean/
Disclaimer: http://www.peralex.com/disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110927/8d89381e/attachment.htm>
More information about the LibreOffice
mailing list