diff options
author | Ben Chan <benchan@chromium.org> | 2019-04-03 10:44:57 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@gnu.org> | 2019-04-05 08:02:14 +0000 |
commit | 9dac5ece77ef75ace284a0b3145f06feb099d0f9 (patch) | |
tree | d6c6f05b17ae3bc9819d013ae9f1da2bb55dd997 /docs/man | |
parent | 7f78ef50100f7f125ddcd47a721676d80e86d1fe (diff) |
build: make compiler warning options compatible with clang
This patch updates m4/compiler-warnings.m4 as follows to make it more
compatible with clang:
* clang doesn't support -Wunused-but-set-variable, which can be replaced
with -Wunused-variable as the latter covers unused variables with or
without an assigned value and is supported by gcc and clang.
* -Wno-unused-function is added to let clang ignore unused functions that
are auto-generated.
Diffstat (limited to 'docs/man')
0 files changed, 0 insertions, 0 deletions