diff options
| author | John Levon <john.levon@joyent.com> | 2019-11-12 16:13:58 +0000 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-11-12 21:51:31 +0100 |
| commit | fd3528aa0409874386610ce63bb647fff8312fd9 (patch) | |
| tree | 8f704874f4cbc634a9359f3fbf047f4eb907c9ee /sparse.1 | |
| parent | cb75739a5e07b0f435b9e2685033e1ba9ebc31cf (diff) | |
| download | sparse-dev-fd3528aa0409874386610ce63bb647fff8312fd9.tar.gz | |
Add -Wexternal-function-has-definition
Some older codebases hit this warning all the time, so it's useful
to be able to disable it.
Signed-off-by: John Levon <john.levon@joyent.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'sparse.1')
| -rw-r--r-- | sparse.1 | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -244,6 +244,13 @@ Sparse issues these warnings by default. To turn them off, use \fB\-Wno\-enum\-mismatch\fR. . .TP +.B \-Wexternal\-function\-has\-definition +Warn about function definitions that are declared with external linkage. + +Sparse issues these warnings by default. To turn them off, use +\fB\-Wno\-external\-function\-has\-definition\fR. +. +.TP .B \-Winit\-cstring Warn about initialization of a char array with a too long constant C string. |
