diff options
author | Sean McBride <sean@rogue-research.com> | 2014-03-21 14:00:04 -0400 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2014-03-21 21:43:12 -0600 |
commit | 388a8f7afd0bdc6fd770983df5f6c3f351f8d557 (patch) | |
tree | f3087bd6aab6082e5072804777c844c38784f578 | |
parent | 19e88a6a588c51c0b3284e2b71385b12b0a37029 (diff) | |
download | libusb-388a8f7afd0bdc6fd770983df5f6c3f351f8d557.tar.gz |
Enabled additional warnings in Xcode project
-rw-r--r-- | Xcode/common.xcconfig | 11 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/Xcode/common.xcconfig b/Xcode/common.xcconfig index 23ed148..cc0ac23 100644 --- a/Xcode/common.xcconfig +++ b/Xcode/common.xcconfig @@ -24,7 +24,6 @@ GCC_STRICT_ALIASING = NO GCC_C_LANGUAGE_STANDARD = c99 // Compiler warnings. -CLANG_WARN_EMPTY_BODY = YES GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES GCC_WARN_UNINITIALIZED_AUTOS = YES @@ -38,3 +37,13 @@ GCC_WARN_UNKNOWN_PRAGMAS = YES GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_LABEL = YES GCC_WARN_UNUSED_VARIABLE = YES +CLANG_WARN_EMPTY_BODY = YES +CLANG_WARN_CONSTANT_CONVERSION = YES +CLANG_WARN_ENUM_CONVERSION = YES +CLANG_WARN_INT_CONVERSION = YES +CLANG_WARN_DOCUMENTATION_COMMENTS = YES +CLANG_WARN_BOOL_CONVERSION = YES + +// Static analyzer warnings. +CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES +CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES diff --git a/libusb/version_nano.h b/libusb/version_nano.h index f11b477..5ea881c 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10872 +#define LIBUSB_NANO 10873 |