diff options
author | Jim Meyering <meyering@fb.com> | 2017-12-17 07:58:43 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2017-12-17 07:58:43 -0800 |
commit | e6c447d02a406209c56d5ca92ce7660a31b2c114 (patch) | |
tree | e7913af11d4efa568215bc94f9cce1f68dc4efef /src/Makefile.am | |
parent | 51ef8adb2f7eeb073ba98be4f6baf56817e4d358 (diff) | |
download | grep-e6c447d02a406209c56d5ca92ce7660a31b2c114.tar.gz |
build: suppress sig-handler.h's -Wcast-function-type warning
* configure.ac (WERROR_CFLAGS): Add -Wno-cast-function-type
to suppress warning about sig-handler.h's sa_handler_t cast:
sig-handler.h: In function 'get_handler':
sig-handler.h:47:12: error: cast between incompatible function\
types from 'void (* const)(int, siginfo_t *, void *)'\
{aka 'void (* const)(int, struct <anonymous> *, void *)'}\
to 'void (*)(int)' [-Werror=cast-function-type]
return (sa_handler_t) a->sa_sigaction;
Diffstat (limited to 'src/Makefile.am')
0 files changed, 0 insertions, 0 deletions