Debian Codegraph @

Xcode/common.xcconfig

raw
1 //
2 // libusb Xcode configuration file
3 // Copyright © 2012 Pete Batard <[email protected]>
4 // For more information, please visit: <https://libusb.info>
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
20 // Use GNU11 dialect.
21 GCC_C_LANGUAGE_STANDARD = gnu11
22
23 // Don't search user paths with <> style #includes.
24 ALWAYS_SEARCH_USER_PATHS = NO
25
26 // Enable weak references for Objective-C
27 CLANG_ENABLE_OBJC_WEAK = YES
28
29 // Allocate even uninitialized global variables in the data section of the object file, rather than generating them as common blocks. This has the effect that if the same variable is declared (without 'extern') in two different compilations, you will get an error when you link them.
30 GCC_NO_COMMON_BLOCKS = YES
31
32 // Keep private symbols private. The first setting is -fvisibility=hidden, the second is -fvisibility-inlines-hidden.
33 GCC_SYMBOLS_PRIVATE_EXTERN = YES
34 GCC_INLINES_ARE_PRIVATE_EXTERN = YES
35
36 // Compiler errors.
37 GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES
38
39 // Compiler warnings.
40 GCC_WARN_64_TO_32_BIT_CONVERSION = YES
41 GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
42 GCC_WARN_ABOUT_MISSING_NEWLINE = YES
43 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
44 GCC_WARN_ABOUT_RETURN_TYPE = YES
45 GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES
46 GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
47 GCC_WARN_SHADOW = YES
48 GCC_WARN_UNINITIALIZED_AUTOS = YES
49 GCC_WARN_UNKNOWN_PRAGMAS = YES
50 GCC_WARN_UNUSED_FUNCTION = YES
51 GCC_WARN_UNUSED_LABEL = YES
52 GCC_WARN_UNUSED_PARAMETER = YES
53 GCC_WARN_UNUSED_VARIABLE = YES
54 CLANG_WARN_ASSIGN_ENUM = YES
55 CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
56 CLANG_WARN_BOOL_CONVERSION = YES
57 CLANG_WARN_COMMA = YES
58 CLANG_WARN_CONSTANT_CONVERSION = YES
59 CLANG_WARN_DOCUMENTATION_COMMENTS = YES
60 CLANG_WARN_EMPTY_BODY = YES
61 CLANG_WARN_ENUM_CONVERSION = YES
62 CLANG_WARN_FLOAT_CONVERSION = YES
63 CLANG_WARN_INFINITE_RECURSION = YES
64 CLANG_WARN_INT_CONVERSION = YES
65 CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
66 CLANG_WARN_STRICT_PROTOTYPES = YES
67 CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
68 CLANG_WARN_COMPLETION_HANDLER_MISUSE = YES
69 CLANG_WARN_IMPLICIT_FALLTHROUGH = YES
70 CLANG_WARN_FRAMEWORK_INCLUDE_PRIVATE_FROM_PUBLIC = YES
71 CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES
72 CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY = YES
73 GCC_WARN_SIGN_COMPARE = YES
74 CLANG_WARN__EXIT_TIME_DESTRUCTORS = YES
75 GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES
76 GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES
77 CLANG_WARN_ATOMIC_IMPLICIT_SEQ_CST = YES
78 CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES
79 CLANG_WARN_OBJC_INTERFACE_IVARS = YES
80 GCC_WARN_STRICT_SELECTOR_MATCH = YES
81 CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
82 CLANG_WARN_UNREACHABLE_CODE = YES
83 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
84 CLANG_WARN_SUSPICIOUS_MOVE = YES
85 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
86 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
87 GCC_WARN_UNDECLARED_SELECTOR = YES
88
89 // Static analyzer warnings.
90 CLANG_ANALYZER_NONNULL = YES
91 CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES
92 CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES