[PATCH 0/4] reduce noise when using pre-ANSI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series contains one fix and uses 3 new GCC's option flags
to reduce noise created by warnings which are irrelevant 
when using sparse with legacy/pre-ANSI code & headers.


This series is available for testing & review in the repository at:
  git://github.com/lucvoo/sparse-dev.git pre-ansi

----------------------------------------------------------------
John Levon (1):
      Conditionalize 'warning: non-ANSI function ...'

Luc Van Oostenryck (3):
      fix implicit K&R argument types
      Use -Wimplicit-int when warning about missing K&R argument types
      Accept comma-separated list for function declarations.

 lib.c                              |  6 ++++++
 lib.h                              |  3 +++
 parse.c                            | 22 +++++++++++++++-------
 validation/implicit-KR-arg-type0.c | 15 +++++++++++++++
 validation/implicit-KR-arg-type1.c | 16 ++++++++++++++++
 validation/old-style-definition0.c | 14 ++++++++++++++
 validation/old-style-definition1.c | 18 ++++++++++++++++++
 validation/strict-prototypes0.c    |  7 +++++++
 validation/strict-prototypes1.c    | 14 ++++++++++++++
 9 files changed, 108 insertions(+), 7 deletions(-)
 create mode 100644 validation/implicit-KR-arg-type0.c
 create mode 100644 validation/implicit-KR-arg-type1.c
 create mode 100644 validation/old-style-definition0.c
 create mode 100644 validation/old-style-definition1.c
 create mode 100644 validation/strict-prototypes0.c
 create mode 100644 validation/strict-prototypes1.c



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux