Make gcc die on init overflow of an array.
authorWayne Davison <wayne@opencoder.net>
Tue, 29 Sep 2020 20:04:41 +0000 (13:04 -0700)
committerWayne Davison <wayne@opencoder.net>
Tue, 29 Sep 2020 20:18:28 +0000 (13:18 -0700)
commit8f1511184ab5ad10110286cdef22195b5a67f01f
tree72bcc5e5810b8a7cf05c3864b064f8e686c15fa2
parentacca9d43d3143113088efa76d561b813735f1a73
Make gcc die on init overflow of an array.

- Use -pedantic-errors with gcc to make an array-init fatal.
- Fix all the extra warnings that gcc outputs due to this option.
- Also add -Wno-pedantic to gcc if we're using the internal popt
  code (since it has lots of pedantic issues).
configure.ac
generator.c
loadparm.c
log.c
tls.c
token.c
xattrs.c