1FIXINCLUDES(1) [FIXME: manual] FIXINCLUDES(1)
2
3
4
6 fixincludes - Reduce the number of #includes in KDE source files
7
9 fixincludes [-v, --verbose] [-e, --experimental] [-m, --modify] [file]
10 [--help]
11
13 fixincludes tries to reduce the number of #includes in C++ source
14 files. Much of it's processing is specific to KDE sources and so it
15 might not work so well with sources for non-KDE applications.
16
17 The following problems are identified by fixincludes:
18
19 · Including headers that are no longer supported but which exist for
20 compatibility with older Qt/KDE versions;
21
22 · Including the same file multiple times.
23
24 There is also an experimental mode which tries removing each #include
25 one at a time (with a few exceptions) to see whether the source still
26 compiles. Note that this experimental mode will modify the original
27 sources.
28
29 By default the sources will not be modified; the identified problems
30 will simply be written to standard output.
31
32 The list of C++ sources to examine should be given on the command-line.
33 If no files are given, all C++ sources in or beneath the current
34 directory will be examined (with the exception of directories whose
35 Makefile.am contains -UQT_NO_COMPAT or -UKDE_NO_COMPAT)
36
37 This utility is part of the KDE Software Development Kit.
38
40 -v, --verbose
41 Verbose mode. Additional debugging output is written to standard
42 output.
43
44 -e, --experimental
45 Experimental mode, as described above in detail. Note that this
46 option implies --modify.
47
48 -m, --modify
49 As well as writing messages to standard output, actually modify the
50 original sources to fix any problems that were found.
51
53 fixincludes was written by Dirk Mueller <mueller@kde.org>.
54
56 Ben Burton <bab@debian.org>
57 Author.
58
59
60
61[FIXME: source] April 7, 2003 FIXINCLUDES(1)