Skip to content

Commit

Permalink
bpo-30923: Disable warning that has been part of -Wextra since gcc-7.…
Browse files Browse the repository at this point in the history
…0. (#3142)
  • Loading branch information
Stefan Krah authored Aug 18, 2017
1 parent 02f3b7d commit d73a960
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Modules/_decimal/libmpdec/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
PEP-3101 formatting for numeric types. */


/* Disable warning that is part of -Wextra since gcc 7.0. */
#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && __GNUC__ >= 7
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#endif


/*
* Work around the behavior of tolower() and strcasecmp() in certain
* locales. For example, in tr_TR.utf8:
Expand Down

0 comments on commit d73a960

Please sign in to comment.