diff options
| author | John Levon <levon@movementarian.org> | 2018-11-29 10:42:51 +0000 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-12-01 02:16:24 +0100 |
| commit | 648380c13ecaaa95c9dfbd500039cd9007ec3c20 (patch) | |
| tree | 3e6d634f8549a13d97bdbe0fba39aed97364eb9c /cgcc | |
| parent | a0f34e0fd2a44016ef668e19187a342c5f4edf45 (diff) | |
| download | sparse-dev-648380c13ecaaa95c9dfbd500039cd9007ec3c20.tar.gz | |
Conditionalize 'warning: non-ANSI function ...'
Sparse unconditionally issues warnings about non-ANSI function
declarations & definitions.
However, some environments have large amounts of legacy headers
that are pre-ANSI, and can't easily be changed. These generate
a lot of useless warnings.
Fix this by using the options flags -Wstrict-prototypes &
-Wold-style-definition to conditionalize these warnings.
Signed-off-by: John Levon <levon@movementarian.org>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'cgcc')
0 files changed, 0 insertions, 0 deletions
