[PATCH 0/3] gprofng: Support build with older versions of GCC

H.J. Lu hjl.tools@gmail.com
Tue Mar 15 16:22:01 GMT 2022


Don't hardcode __attribute__ ((fallthrough)), -Wno-nonnull-compare,
-Wno-format-truncation nor -Wno-switch.  Use them only if they are
supported.

H.J. Lu (3):
  gprofng: Define ATTRIBUTE_FALLTHROUGH
  gprofng: Don't hardcode -Wno-nonnull-compare
  gprofng: Don't hardcode -Wno-format-truncation/-Wno-switch

 gprofng/Makefile.in               |   2 +
 gprofng/common/gp-defs.h          |   8 ++
 gprofng/configure                 | 122 +++++++++++++++++++++++++++++-
 gprofng/configure.ac              |   4 +
 gprofng/libcollector/Makefile.am  |   2 +-
 gprofng/libcollector/Makefile.in  |   3 +-
 gprofng/libcollector/aclocal.m4   |   1 +
 gprofng/libcollector/configure    |  64 +++++++++++++++-
 gprofng/libcollector/configure.ac |   3 +
 gprofng/src/Makefile.am           |   5 +-
 gprofng/src/Makefile.in           |   8 +-
 gprofng/src/gp-collect-app.cc     |   2 +-
 12 files changed, 213 insertions(+), 11 deletions(-)

-- 
2.35.1



More information about the Binutils mailing list