|
3 | 3 | "/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd"> |
4 | 4 | <book> |
5 | 5 | <bookinfo> |
6 | | - <title>Cppcheck 1.43</title> |
| 6 | + <title>Cppcheck 1.44</title> |
7 | 7 |
|
8 | | - <date>2010-05-08</date> |
| 8 | + <date>2010-07-10</date> |
9 | 9 | </bookinfo> |
10 | 10 |
|
11 | 11 | <chapter> |
@@ -165,9 +165,14 @@ Checking path/file2.cpp... |
165 | 165 | <para>But if you want to manually limit the checking you can do so with |
166 | 166 | <literal>-D</literal>.</para> |
167 | 167 |
|
168 | | - <para>For example, if you want to limit the checking so the only |
169 | | - configuration to check should be "DEBUG=1;__cplusplus" then something like |
170 | | - this can be used:</para> |
| 168 | + <para>Beware that only the macros, which are given here and the macros |
| 169 | + defined in source files and known header files are considered. That |
| 170 | + excludes all the macros defined in some system header files, which are by |
| 171 | + default not examined by cppcheck.</para> |
| 172 | + |
| 173 | + <para>The usage: if you, for example, want to limit the checking so the |
| 174 | + only configuration to check should be "DEBUG=1;__cplusplus" then something |
| 175 | + like this can be used:</para> |
171 | 176 |
|
172 | 177 | <programlisting>cppcheck -DDEBUG=1 -D__cplusplus path</programlisting> |
173 | 178 | </chapter> |
@@ -220,7 +225,7 @@ Checking path/file2.cpp... |
220 | 225 | <term>severity</term> |
221 | 226 |
|
222 | 227 | <listitem> |
223 | | - <para>one of: error / possible error / style / possible style</para> |
| 228 | + <para>either error or style</para> |
224 | 229 | </listitem> |
225 | 230 | </varlistentry> |
226 | 231 |
|
|
0 commit comments