Skip to content

Commit

Permalink
Merge branch 'release-candidate' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Nov 9, 2017
2 parents d35a2a3 + a117c6f commit 6aec845
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 2.0.0

Added additional warnings to `strict_warnings_objc_library`:

## Changes

* [Update warnings to match the MDC iOS project (#2)](https://github.com/material-foundation/bazel_ios_warnings/commit/aac7e59ab1b3e6d3329a08019b69ace1a68966b2) (featherless)

# 1.0.1

This patch release fixes text layout in the AUTHORS file.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Add the following to your `WORKSPACE`:
git_repository(
name = "bazel_ios_warnings",
remote = "https://github.com/material-foundation/bazel_ios_warnings.git",
tag = "v1.0.1",
tag = "v2.0.0",
)
```

Expand Down
15 changes: 15 additions & 0 deletions strict_warnings_objc_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,28 @@ COMMON_COPTS = [
"-Wnewline-eof", # No newline at the end of the file.
"-Wno-error=deprecated", # Deprecation warnings are never errors.
"-Wno-error=deprecated-implementations", # Deprecation warnings are never errors.
"-Wno-partial-availability",
"-Wno-sign-conversion", # Do not warn on sign conversions.
"-Wno-unused-parameter", # Do not warn on unused parameters.
"-Woverlength-strings", # Strings longer than the C maximum.
"-Wshadow", # Local variable shadows another variable, parameter, etc.
"-Wstrict-selector-match", # Compiler can't figure out the right selector.
"-Wstrict-prototypes",
"-Wundeclared-selector", # Compiler doesn't see a selector.
"-Wunreachable-code", # Code will never be reached.
"-Wunused-comparison",
"-Wunused-const-variable",
"-Wunused-exception-parameter",
"-Wunused-function",
"-Wunused-label",
"-Wunused-member-function",
"-Wunused-private-field",
"-Wunused-property-ivar",
"-Wunused-result",
"-Wunused-value",
"-Wunused-variable",
"-Wunused-volatile-lvalue",
"-Wused-but-marked-unused",
]

def strict_warnings_objc_library(
Expand Down

0 comments on commit 6aec845

Please sign in to comment.