Skip to content

Commit

Permalink
Disable '-Wimplicit-fallthrough=0'.
Browse files Browse the repository at this point in the history
Otherwise it fails on MacOS X with;
```
error: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option]
```

Signed-off-by: Tim 'mithro' Ansell <[email protected]>
  • Loading branch information
mithro committed Feb 8, 2021
1 parent dd646b6 commit 65ba0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def add_flags(self):
flags.append('-Wno-attributes')

# Lots of implicit fallthroughs.
flags.append('-Wimplicit-fallthrough=0')
#flags.append('-Wimplicit-fallthrough=0')

if flags:
os.environ[flag] = " ".join(flags)
Expand Down

0 comments on commit 65ba0c7

Please sign in to comment.