diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-27 13:19:52 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-10-27 16:28:10 +0900 |
commit | 5ff47e0c8a97940a6f77f961ab43ebea87256dfa (patch) | |
tree | 13182886e50f9f3083dc6ac14b79db1f3ec0ab35 | |
parent | 219f54152aaad31b40e19eef4f01b88730734e62 (diff) |
Check old-style definitions
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5034
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 610143fe34..490fe5d94a 100644 --- a/configure.ac +++ b/configure.ac @@ -636,6 +636,7 @@ AS_CASE(["$GCC:${warnflags+set}:${extra_warnflags:+set}:"], -Werror=pointer-arith \ -Werror=shorten-64-to-32 \ -Werror=write-strings \ + -Werror=old-style-definition \ -Wimplicit-fallthrough=0 \ -Wmissing-noreturn \ -Wno-cast-function-type \ |