diff options
| author | Christopher Li <sparse@chrisli.org> | 2014-10-10 22:37:07 +0800 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2014-10-10 22:43:02 +0800 |
| commit | fe57afa0b44a5f49046cf1ac84040bcf172b8fa8 (patch) | |
| tree | 5454f42d431e3702b7a58beb1bcdec0214420332 /example.c | |
| parent | 4d8811879a1cc48c1cdd0b0466dc6865c715d149 (diff) | |
| download | sparse-dev-fe57afa0b44a5f49046cf1ac84040bcf172b8fa8.tar.gz | |
rename -Werror to -Wsparse-error
Sparse is often share compile flags. So Werror is usually
mean gcc should treat warning as error. Apply the same
option to sparse will cause the Linux kernel checking fail
the build. We don't want that.
Rename the sparse option to -Wsparse-error. It allow caller
to control gcc and sparse behavior seperately.
It also make sparse return error status only when -Wsparse-error
is present.
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'example.c')
0 files changed, 0 insertions, 0 deletions
