Skip to content

Commit

Permalink
Merge pull request futuretap#62 from calebd/xcode-8-beta-5-warnings
Browse files Browse the repository at this point in the history
Add warnings new in Xcode 8 beta 5.
  • Loading branch information
NachoSoto committed Aug 16, 2016
2 parents 1ef9763 + 5d283a4 commit 5456dd2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Base/Common.xcconfig
Expand Up @@ -177,3 +177,11 @@ WARNING_CFLAGS = -Wno-error=unknown-warning-option -Wno-gcc-compat -Wno-unused-c
// the default. It warns if the same variable is declared in two binaries that
// are linked together.
GCC_NO_COMMON_BLOCKS = YES

// This warnings detects when a function will recursively call itself on every
// code path though that function. More information can be found here:
// http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20131216/096004.html
CLANG_WARN_INFINITE_RECURSION = YES

// This warning detects suspicious uses of std::move.
CLANG_WARN_SUSPICIOUS_MOVE = YES

0 comments on commit 5456dd2

Please sign in to comment.