Commit dac26729 authored by Madelyn Olson's avatar Madelyn Olson Committed by Madelyn Olson
Browse files

Only supress implitic fallthrough on GCC 7

parent 4d1120f5
......@@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: make
run: make
run: make REDIS_CFLAGS='-Werror'
build-macos-latest:
runs-on: macos-latest
......
......@@ -52,7 +52,7 @@
#endif
#endif
#if defined(__GNUC__) && __GNUC__ >= 5
#if defined(__GNUC__) && __GNUC__ >= 7
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment