处理iOS开发中的各种警告

2023-05-16

iOS开发中我们会遇到各种警告,包括第三方不再支持更新导致的警告,苹果一些过时方法的警告,其中尤其是ASIHttpRequest的不支持更新导致有很多的警告,所以我在这里做了罗列

Semantic Warnings

WarningMessage
-WCFString-literalinput conversion stopped due to an input byte that does not belong to the input codeset UTF-8
-WNSObject-attribute__attribute ((NSObject)) may be put on a typedef only, attribute is ignored
-Wabstract-vbase-initinitializer for virtual base class %0 of abstract class %1 will never be used
-Waddress-of-array-temporarypointer is initialized by a temporary array, which will be destroyed at the end of the full-expression
-Warc-maybe-repeated-use-of-weak"weak %select{variable|property|implicit property|instance variable}0 %1 may be accessed multiple times in this %select{function|method|block|lambda}2 and may be unpredictably set to nil assign to a strong variable to keep the object alive
-Warc-non-pod-memaccess%select{destination for|source of}0 this %1 call is a pointer to ownership-qualified type %2
-Warc-performSelector-leaksperformSelector may cause a leak because its selector is unknown
-Warc-repeated-use-of-weak"weak %select{variable|property|implicit property|instance variable}0 %1 is accessed multiple times in this %select{function|method|block|lambda}2 but may be unpredictably set to nil assign to a strong variable to keep the object alive
-Warc-retain-cyclescapturing %0 strongly in this block is likely to lead to a retain cycle
-Warc-unsafe-retained-assignassigning retained object to unsafe property object will be released after assignment
-Warc-unsafe-retained-assignassigning %select{array literal|dictionary literal|numeric literal|boxed expression|should not happen|block literal}0 to a weak %select{property|variable}1 object will be released after assignment
-Warc-unsafe-retained-assignassigning retained object to %select{weak|unsafe_unretained}0 %select{property|variable}1 object will be released after assignment
-Warray-boundsarray index %0 is past the end of the array (which contains %1 element%s2)
-Warray-boundsarray index %0 is before the beginning of the array
-Warray-bounds'static' has no effect on zero-length arrays
-Warray-boundsarray argument is too small contains %0 elements, callee requires at least %1
-Warray-bounds-pointer-arithmeticthe pointer incremented by %0 refers past the end of the array (that contains %1 element%s2)
-Warray-bounds-pointer-arithmeticthe pointer decremented by %0 refers before the beginning of the array
-Wassign-enuminteger constant not in range of enumerated type %0
-Watomic-property-with-user-defined-accessorwritable atomic property %0 cannot pair a synthesized %select{getter|setter}1 with a user defined %select{getter|setter}2
-Wattributesunknown attribute %0 ignored
-Wauto-var-id'auto' deduced as 'id' in declaration of %0
-Wavailabilityunknown platform %0 in availability macro
-Wavailabilityoverriding method %select{introduced after|deprecated before|obsoleted before}0 overridden method on %1 (%2 vs. %3)
-Wavailabilityavailability does not match previous declaration
-Wavailabilityoverriding method cannot be unavailable on %0 when its overridden method is available
-Wavailabilityfeature cannot be %select{introduced|deprecated|obsoleted}0 in %1 version %2 before it was %select{introduced|deprecated|obsoleted}3 in version %4 attribute ignored
-Wbad-function-castcast from function call of type %0 to non-matching type %1
-Wbitfield-constant-conversionimplicit truncation from %2 to bitfield changes value from %0 to %1
-Wbitwise-op-parentheses'&' within '|'
-Wbool-conversion"initialization of pointer of type %0 to null from a constant boolean " "expression
-Wbridge-cast%0 cannot bridge to %1
-Wbridge-cast%0 bridges to %1, not %2
-Wbuiltin-requires-headerdeclaration of built-in function '%0' requires inclusion of the header stdio.h
-Wbuiltin-requires-headerdeclaration of built-in function '%0' requires inclusion of the header setjmp.h
-Wbuiltin-requires-headerdeclaration of built-in function '%0' requires inclusion of the header ucontext.h
-Wc++-compat%select{|empty }0%select{struct|union}1 has size 0 in C, %select{size 1|non-zero size}2 in C++
-Wc++11-compatexplicit instantiation cannot be 'inline'
-Wc++11-compatexplicit instantiation of %0 must occur at global scope
-Wc++11-compatexplicit instantiation of %0 not in a namespace enclosing %1
-Wc++11-compatexplicit instantiation of %q0 must occur in namespace %1
-Wc++11-narrowingconstant expression evaluates to %0 which cannot be narrowed to type %1 in C++11
-Wc++11-narrowingtype %0 cannot be narrowed to %1 in initializer list in C++11
-Wc++11-narrowingnon-constant-expression cannot be narrowed from type %0 to %1 in initializer list in C++11
-Wc++98-c++11-compattype definition in a constexpr %select{function|constructor}0 is incompatible with C++ standards before C++1y
-Wc++98-c++11-compatuse of this statement in a constexpr %select{function|constructor}0 is incompatible with C++ standards before C++1y
-Wc++98-c++11-compatinit-captures.def warn_cxx11_compat_init_capture : Warning "initialized lambda captures are incompatible with C++ standards " "before C++1y
-Wc++98-c++11-compatvariable declaration in a constexpr %select{function|constructor}0 is incompatible with C++ standards before C++1y
-Wc++98-c++11-compatconstexpr function with no return statements is incompatible with C++ standards before C++1y
-Wc++98-c++11-compatmultiple return statements in constexpr function is incompatible with C++ standards before C++1y
-Wc++98-c++11-compatvariable templates are incompatible with C++ standards before C++1y
-Wc++98-compatsubstitution failure due to access control is incompatible with C++98
-Wc++98-compat%select{anonymous struct|union}0 member %1 with a non-trivial %select{constructor|copy constructor|move constructor|copy assignment operator|move assignment operator|destructor}2 is incompatible with C++98
-Wc++98-compatenumeration type in nested name specifier is incompatible with C++98
-Wc++98-compatstatic data member %0 in union is incompatible with C++98
-Wc++98-compatdefault template arguments for a function template are incompatible with C++98
-Wc++98-compatscalar initialized from empty initializer list is incompatible with C++98
-Wc++98-compatbefriending %1 without '%select{struct|interface|union|class|enum}0' keyword is incompatible with C++98
-Wc++98-compatuse of null pointer as non-type template argument is incompatible with C++98
-Wc++98-compatfriend declaration naming a member of the declaring class is incompatible with C++98
-Wc++98-compatnon-class friend type %0 is incompatible with C++98
-Wc++98-compatbefriending enumeration type %0 is incompatible with C++98
-Wc++98-compatuse of non-static data member %0 in an unevaluated context is incompatible with C++98
-Wc++98-compatfriend function %0 would be implicitly redefined in C++98
-Wc++98-compat%select{class template|class template partial|variable template|variable template partial|function template|member function|static data member|member class|member enumeration}0 specialization of %1 outside namespace %2 is incompatible with C++98
-Wc++98-compatreference initialized from initializer list is incompatible with C++98
-Wc++98-compatredundant parentheses surrounding address non-type template argument are incompatible with C++98
-Wc++98-compatinitialization of initializer_list object is incompatible with C++98
-Wc++98-compatuse of 'template' keyword outside of a template is incompatible with C++98
-Wc++98-compatnon-type template argument referring to %select{function|object}0 %1 with internal linkage is incompatible with C++98
-Wc++98-compatuse of 'typename' outside of a template is incompatible with C++98
-Wc++98-compatpassing object of trivial but non-POD type %0 through variadic %select{function|block|method|constructor}1 is incompatible with C++98
-Wc++98-compatgoto would jump into protected scope in C++98
-Wc++98-compatconstructor call from initializer list is incompatible with C++98
-Wc++98-compat'auto' type specifier is incompatible with C++98
-Wc++98-compatdelegating constructors are incompatible with C++98
-Wc++98-compat'constexpr' specifier is incompatible with C++98
-Wc++98-compatinheriting constructors are incompatible with C++98
-Wc++98-compatexplicit conversion functions are incompatible with C++98
-Wc++98-compatswitch case would be in a protected scope in C++98
-Wc++98-compat'%0' type specifier is incompatible with C++98
-Wc++98-compatindirect goto might cross protected scopes in C++98
-Wc++98-compat-pedanticcast between pointer-to-function and pointer-to-object is incompatible with C++98
-Wc++98-compat-pedanticimplicit conversion from array size expression of type %0 to %select{integral|enumeration}1 type %2 is incompatible with C++98
-Wcast-aligncast from %0 to %1 increases required alignment from %2 to %3
-Wcast-of-sel-typecast of type %0 to %1 is deprecated use sel_getName instead
-Wchar-subscriptsarray subscript is of type 'char'
-Wconditional-uninitializedvariable %0 may be uninitialized when %select{used here|captured by block}1
-Wconstant-logical-operanduse of logical '%0' with constant operand
-Wconstexpr-not-const'constexpr' non-static member function will not be implicitly 'const' in C++1y add 'const' to avoid a change in behavior
-Wconsumedstate of variable '%0' must match at the entry and exit of loop
-Wconsumedparameter '%0' not in expected state when the function returns: expected '%1', observed '%2'
-Wconsumedargument not in expected state expected '%0', observed '%1'
-Wconsumedinvalid invocation of method '%0' on a temporary object while it is in the '%1' state
-Wconsumedreturn state set for an unconsumable type '%0'
-Wconsumedconsumed analysis attribute is attached to member of class '%0' which isn't marked as consumable
-Wconsumedinvalid invocation of method '%0' on object '%1' while it is in the '%2' state
-Wconsumedreturn value not in expected state expected '%0', observed '%1'
-Wconversionimplicit conversion discards imaginary component: %0 to %1
-Wconversionnon-type template argument with value '%0' converted to '%1' for unsigned template parameter of type %2
-Wconversionimplicit conversion loses floating-point precision: %0 to %1
-Wconversionimplicit conversion loses integer precision: %0 to %1
-Wconversionnon-type template argument value '%0' truncated to '%1' for template parameter of type %2
-Wconversionimplicit conversion turns vector to scalar: %0 to %1
-Wconversionimplicit conversion turns floating-point number into integer: %0 to %1
-Wcovered-switch-defaultdefault label in switch which covers all enumeration values
-Wcustom-atomic-propertiesatomic by default property %0 has a user defined %select{getter|setter}1 (property should be marked 'atomic' if this is intended)
-Wdangling-fieldinitializing pointer member %0 with the stack address of parameter %1
-Wdangling-fieldbinding reference %select{|subobject of }1member %0 to a temporary value
-Wdangling-fieldbinding reference member %0 to stack allocated parameter %1
-Wdangling-initializer-listarray backing the initializer list will be destroyed at the end of %select{the full-expression|the constructor}0
-Wdelete-incompletedeleting pointer to incomplete type %0 may cause undefined behavior
-Wdelete-non-virtual-dtordelete called on %0 that is abstract but has non-virtual destructor
-Wdelete-non-virtual-dtordelete called on %0 that has virtual functions but non-virtual destructor
-Wdeprecatedaccess declarations are deprecated use using declarations instead
-Wdeprecateddefinition of implicit copy %select{constructor|assignment operator}1 for %0 is deprecated because it has a user-declared %select{copy %select{assignment operator|constructor}1|destructor}2
-Wdeprecateddynamic exception specifications are deprecated
-Wdeprecated-increment-boolincrementing expression of type bool is deprecated
-Wdeprecated-objc-isa-usageassignment to Objective-C's isa is deprecated in favor of object_setClass()
-Wdeprecated-objc-isa-usagedirect access to Objective-C's isa is deprecated in favor of object_getClass()
-Wdeprecated-objc-pointer-introspectionbitmasking for introspection of Objective-C object pointers is strongly discouraged
-Wdeprecated-objc-pointer-introspection-performSelectorwarn_objc_pointer_masking.Text
-Wdeprecated-writable-stringsdummy warning to enable -fconst-strings
-Wdirect-ivar-accessinstance variable %0 is being directly accessed
-Wdistributed-object-modifiersconflicting distributed object modifiers on return type in implementation of %0
-Wdistributed-object-modifiersconflicting distributed object modifiers on parameter type in implementation of %0
-Wdivision-by-zerodivision by zero is undefined
-Wdivision-by-zeroremainder by zero is undefined
-Wdocumentationparameter '%0' not found in the function declaration
-Wdocumentationnot a Doxygen trailing comment
-Wduplicate-enumelement %0 has been implicitly assigned %1 which another element has been assigned
-Wduplicate-method-matchmultiple declarations of method %0 found and ignored
-Wdynamic-class-memaccess%select{destination for|source of|first operand of|second operand of}0 this %1 call is a pointer to dynamic class %2 vtable pointer will be %select{overwritten|copied|moved|compared}3
-Wempty-bodyswitch statement has empty body
-Wempty-bodyfor loop has empty body
-Wempty-bodyif statement has empty body
-Wempty-bodyrange-based for loop has empty body
-Wempty-bodywhile loop has empty body
-Wenum-comparecomparison of two values with different enumeration types%diff{ ($ and $)|}0,1
-Wenum-conversionimplicit conversion from enumeration type %0 to different enumeration type %1
-Wexit-time-destructorsdeclaration requires an exit-time destructor
-Wexplicit-ownership-typemethod parameter of type %0 with no explicit ownership
-Wextern-c-compat%select{|empty }0%select{struct|union}1 has size 0 in C, %select{size 1|non-zero size}2 in C++
-Wextern-initializer'extern' variable has an initializer
-Wfloat-equalcomparing floating point with == or != is unsafe
-Wformat"data argument position '%0' exceeds the number of data arguments (%1)
-Wformatposition arguments in format strings start counting at 1 (not 0)
-Wformatinvalid position specified for %select{field width|field precision}0
-Wformatcannot mix positional and non-positional arguments in format string
-Wformatvalues of type '%0' should not be used as format arguments add an explicit cast to %1 instead
-Wformatformat specifies type %0 but the argument has type %1
-Wformatzero field width in scanf format string is unused
-Wformatno closing ']' for '%%[' in scanf format string
-Wformatformat string should not be a wide string
-Wformatformat string contains '\\0' within the string body
-Wformat'%select{*|.*}0' specified field %select{width|precision}0 is missing a matching 'int' argument
-Wformatfield %select{width|precision}0 should have type %1, but argument has type %2
-Wformat%select{field width|precision}0 used with '%1' conversion specifier, resulting in undefined behavior
-Wformatformat string missing
-Wformatincomplete format specifier
-Wformatflag '%0' results in undefined behavior with '%1' conversion specifier
-Wformatflag '%0' is ignored when flag '%1' is present
-Wformatmore '%%' conversions than data arguments
-Wformatlength modifier '%0' results in undefined behavior or no effect with '%1' conversion specifier
-Wformat-extra-argsdata argument not used by format string
-Wformat-invalid-specifierinvalid conversion specifier '%0'
-Wformat-nonliteralformat string is not a string literal
-Wformat-securityformat string is not a string literal (potentially insecure)
-Wformat-zero-lengthformat string is empty
-Wgcc-compatGCC does not allow the 'cleanup' attribute argument to be anything other than a simple identifier
-Wglobal-constructorsdeclaration requires a global constructor
-Wglobal-constructorsdeclaration requires a global destructor
-Wgnu-conditional-omitted-operanduse of GNU ?: conditional expression extension, omitting middle operand
-Wheader-hygieneusing namespace directive in global context in header
-Widiomatic-parenthesesusing the result of an assignment as a condition without parentheses
-Wignored-attributes'malloc' attribute only applies to functions returning a pointer type
-Wignored-attributes%0 attribute only applies to %select{functions|unions|variables and functions|functions and methods|parameters|functions, methods and blocks|functions, methods, and classes|functions, methods, and parameters|classes|variables|methods|variables, functions and labels|fields and global variables|structs|variables, functions and tag types|thread-local variables|variables and fields|variables, data members and tag types|types and namespaces|Objective-C interfaces}1
-Wignored-attributes'%0' attribute cannot be specified on a definition
-Wignored-attributes__weak attribute cannot be specified on an automatic variable when ARC is not enabled
-Wignored-attributesObjective-C GC does not allow weak variables on the stack
-Wignored-attributes__weak attribute cannot be specified on a field declaration
-Wignored-attributesattribute %0 cannot be applied to %select{functions|Objective-C method}1 without return value
-Wignored-attributesattribute declaration must precede definition
-Wignored-attributesattribute %0 is ignored, place it after \"%select{class|struct|union|interface|enum}1\" to apply attribute to type declaration
-Wignored-attributes__declspec attribute %0 is not supported
-Wignored-attributesattribute %0 ignored, because it cannot be applied to a type
-Wignored-attributesattribute %0 after definition is ignored
-Wignored-attributes%0 attribute ignored
-Wignored-attributes'sentinel' attribute only supported for variadic %select{functions|blocks}0
-Wignored-attributes'sentinel' attribute requires named arguments
-Wignored-attributes'%0' only applies to %select{function|pointer|Objective-C object or block pointer}1 types type here is %2
-Wignored-attributes'nonnull' attribute applied to function with no pointer arguments
-Wignored-attributes%0 attribute can only be applied to instance variables or properties
-Wignored-attributesunknown visibility %0
-Wignored-attributes%0 calling convention ignored on variadic function
-Wignored-attributes%0 only applies to variables with static storage duration and functions
-Wignored-attributesibaction attribute can only be applied to Objective-C instance methods
-Wignored-attributes#pramga ms_struct can not be used with dynamic classes or structures
-Wignored-attributestransparent union definition must contain at least one field transparent_union attribute ignored
-Wignored-attributesfirst field of a transparent union cannot have %select{floating point|vector}0 type %1 transparent_union attribute ignored
-Wignored-attributes'gnu_inline' attribute requires function to be marked 'inline', attribute ignored
-Wignored-attributescalling convention %0 ignored for this target
-Wignored-attributestransparent_union attribute can only be applied to a union definition attribute ignored
-Wignored-attributes%select{alignment|size}0 of field %1 (%2 bits) does not match the %select{alignment|size}0 of the first field in transparent union transparent_union attribute ignored
-Wignored-attributesattribute %0 is already applied
-Wignored-attributes%0 attribute ignored for field of type %1
-Wignored-attributes%0 attribute ignored when parsing type
-Wignored-attributes%0 attribute only applies to %select{functions|methods|properties}1 that return %select{an Objective-C object|a pointer|a non-retainable pointer}2
-Wignored-attributes%0 attribute only applies to %select{Objective-C object|pointer}1 parameters
-Wignored-attributesattribute %0 is already applied with different parameters
-Wignored-attributes%0 attribute argument not supported: %1
-Wignored-qualifiers"'%0' type qualifier%s1 on return type %plural{1:has|:have}1 no effect
-Wignored-qualifiersARC %select{unused|__unsafe_unretained|__strong|__weak|__autoreleasing}0 lifetime qualifier on return type is ignored
-Wimplicit-atomic-propertiesproperty is assumed atomic by default
-Wimplicit-atomic-propertiesproperty is assumed atomic when auto-synthesizing the property
-Wimplicit-fallthroughfallthrough annotation in unreachable code
-Wimplicit-fallthroughunannotated fall-through between switch labels
-Wimplicit-fallthroughfallthrough annotation does not directly precede switch label
-Wimplicit-function-declarationimplicit declaration of function %0
-Wimplicit-function-declarationuse of unknown builtin %0
-Wimplicit-retain-self"block implicitly retains 'self' explicitly mention 'self' to indicate this is intended behavior
-Wincompatible-library-redeclarationincompatible redeclaration of library function %0
-Wincomplete-implementationmethod definition for %0 not found
-Winherited-variadic-ctorinheriting constructor does not inherit ellipsis
-Winitializer-overridessubobject initialization overrides initialization of other fields within its enclosing subobject
-Winitializer-overridesinitializer overrides prior initialization of this subobject
-Wint-to-pointer-castcast to %1 from smaller integer type %0
-Wint-to-void-pointer-castcast to %1 from smaller integer type %0
-Winvalid-iboutletIBOutletCollection properties should be copy/strong and not assign
-Winvalid-iboutlet%select{instance variable|property}2 with %0 attribute must be an object type (invalid %1)
-Winvalid-noreturnfunction %0 declared 'noreturn' should not return
-Winvalid-noreturnfunction declared 'noreturn' should not return
-Wlarge-by-value-copyreturn value of %0 is a large (%1 bytes) pass-by-value object pass it by reference instead ?
-Wlarge-by-value-copy%0 is a large (%1 bytes) pass-by-value argument pass it by reference instead ?
-Wliteral-conversionimplicit conversion from %0 to %1 changes value from %2 to %3
-Wliteral-rangemagnitude of floating-point constant too large for type %0 maximum is %1
-Wliteral-rangemagnitude of floating-point constant too small for type %0 minimum is %1
-Wlogical-not-parentheseslogical not is only applied to the left hand side of this comparison
-Wlogical-op-parentheses'&&' within '||'
-Wloop-analysisvariable%select{s| %1|s %1 and %2|s %1, %2, and %3|s %1, %2, %3, and %4}0 used in loop condition not modified in loop body
-Wloop-analysisvariable %0 is %select{decremented|incremented}1 both in the loop header and in the loop body
-Wmethod-signaturesconflicting parameter types in implementation of %0: %1 vs %2
-Wmethod-signaturesconflicting return type in implementation of %0: %1 vs %2
-Wmicrosoftextra qualification on member %0
-Wmismatched-method-attributesattributes on method implementation and its declaration must match
-Wmismatched-parameter-typesconflicting parameter types in implementation of %0%diff{: $ vs $|}1,2
-Wmismatched-return-typesconflicting return type in implementation of %0%diff{: $ vs $|}1,2
-Wmissing-bracessuggest braces around initialization of subobject
-Wmissing-declarations'%0' ignored on this declaration
-Wmissing-field-initializersmissing field '%0' initializer
-Wmissing-method-return-typemethod has no return type specified defaults to 'id'
-Wmissing-noreturnblock could be declared with attribute 'noreturn'
-Wmissing-noreturn%select{function|method}0 %1 could be declared with attribute 'noreturn'
-Wmissing-prototypesno previous prototype for function %0
-Wmissing-variable-declarationsno previous extern declaration for non-static variable %0
-Wmultiple-move-vbasedefaulted move assignment operator of %0 will move assign virtual base class %1 multiple times
-Wnested-anon-typesanonymous types declared in an anonymous union/struct are an extension
-Wnon-literal-null-conversion"expression which evaluates to zero treated as a null pointer constant of " "type %0
-Wnon-pod-varargscannot pass object of %select{non-POD|non-trivial}0 type %1 through variadic %select{function|block|method|constructor}2 call will abort at runtime
-Wnon-pod-varargscannot pass %select{non-POD|non-trivial}0 object of type %1 to variadic %select{function|block|method|constructor}2 expected type from format string was %3
-Wnon-pod-varargssecond argument to 'va_arg' is of ARC ownership-qualified type %0
-Wnon-pod-varargssecond argument to 'va_arg' is of non-POD type %0
-Wnon-virtual-dtor%0 has virtual functions but non-virtual destructor
-Wnonnullnull passed to a callee which requires a non-null argument
-Wnull-arithmeticcomparison between NULL and non-pointer %select{(%1 and NULL)|(NULL and %1)}0
-Wnull-arithmeticuse of NULL in arithmetic operation
-Wnull-dereferenceindirection of non-volatile null pointer will be deleted, not trap
-Wobjc-autosynthesis-property-ivar-name-matchautosynthesized property %0 will use %select{|synthesized}1 instance variable %2, not existing instance variable %3
-Wobjc-forward-class-redefinitionredefinition of forward class %0 of a typedef name of an object type is ignored
-Wobjc-interface-ivarsdeclaration of instance variables in the interface is deprecated
-Wobjc-literal-comparedirect comparison of %select{an array literal|a dictionary literal|a numeric literal|a boxed expression|}0 has undefined behavior
-Wobjc-literal-missing-atsignstring literal must be prefixed by '@'
-Wobjc-method-accessclass method %objcclass0 not found (return type defaults to 'id')
-Wobjc-method-accessinstance method %objcinstance0 not found (return type defaults to 'id')
-Wobjc-method-accessinstance method %0 is being used on 'Class' which is not in the root class
-Wobjc-method-accessinstance method %0 found instead of class method %1
-Wobjc-method-accessclass method %objcclass0 not found (return type defaults to 'id') did you mean %objcclass2?
-Wobjc-method-accessinstance method %objcinstance0 not found (return type defaults to 'id') did you mean %objcinstance2?
-Wobjc-missing-property-synthesis"auto property synthesis is synthesizing property not explicitly synthesized
-Wobjc-missing-super-callsmethod possibly missing a [super %0] call
-Wobjc-noncopy-retain-block-property"retain'ed block property does not copy the block " "- use copy attribute instead
-Wobjc-nonunified-exceptionscan not catch an exception thrown with @throw in C++ in the non-unified exception model
-Wobjc-property-implementationproperty %0 requires method %1 to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation
-Wobjc-property-implementationproperty %0 requires method %1 to be defined - use @dynamic or provide a method implementation in this category
-Wobjc-property-implicit-mismatch"primary property declaration is implicitly strong while redeclaration in class extension is weak
-Wobjc-property-matches-cocoa-ownership-ruleproperty's synthesized getter follows Cocoa naming convention for returning 'owned' objects
-Wobjc-property-no-attributeno 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed
-Wobjc-property-no-attributedefault property attribute 'assign' not appropriate for non-GC object
-Wobjc-property-synthesis"auto property synthesis will not synthesize property '%0' because it cannot share an ivar with another synthesized property
-Wobjc-property-synthesisauto property synthesis will not synthesize property '%0' because it is 'readwrite' but it will be synthesized 'readonly' via another property
-Wobjc-protocol-method-implementationcategory is implementing a method which will also be implemented by its primary class
-Wobjc-protocol-property-synthesisauto property synthesis will not synthesize property declared in a protocol
-Wobjc-redundant-literal-useusing %0 with a literal is redundant
-Wobjc-root-classclass %0 defined without specifying a base class
-Wobjc-string-comparedirect comparison of a string literal has undefined behavior
-Wobjc-string-concatenationconcatenated NSString literal for an NSArray expression - possibly missing a comma
-Wover-alignedtype %0 requires %1 bytes of alignment and the default allocator only guarantees %2 bytes
-Woverloaded-shift-op-parenthesesoverloaded operator %select{|}0 has lower precedence than comparison operator
-Woverloaded-virtual%q0 hides overloaded virtual %select{function|functions}1
-Woverriding-method-mismatchconflicting distributed object modifiers on parameter type in declaration of %0
-Woverriding-method-mismatchconflicting parameter types in declaration of %0: %1 vs %2
-Woverriding-method-mismatchconflicting variadic declaration of method and its implementation
-Woverriding-method-mismatchconflicting return type in declaration of %0: %1 vs %2
-Woverriding-method-mismatchconflicting distributed object modifiers on return type in declaration of %0
-Woverriding-method-mismatchconflicting return type in declaration of %0%diff{: $ vs $|}1,2
-Woverriding-method-mismatchconflicting parameter types in declaration of %0%diff{: $ vs $|}1,2
-Wpackedpacked attribute is unnecessary for %0
-Wpaddedpadding size of %0 with %1 %select{byte|bit}2%select{|s}3 to alignment boundary
-Wpaddedpadding %select{struct|interface|class}0 %1 with %2 %select{byte|bit}3%select{|s}4 to align %5
-Wpaddedpadding %select{struct|interface|class}0 %1 with %2 %select{byte|bit}3%select{|s}4 to align anonymous bit-field
-Wparentheses%0 has lower precedence than %1 %1 will be evaluated first
-Wparenthesesusing the result of an assignment as a condition without parentheses
-Wparenthesesoperator '?:' has lower precedence than '%0' '%0' will be evaluated first
-Wparentheses-equalityequality comparison with extraneous parentheses
-Wpointer-arithsubtraction of pointers to type %0 of zero size has undefined behavior
-Wpredefined-identifier-outside-functionpredefined identifier is only valid inside function
-Wprivate-externuse of __private_extern__ on a declaration may not produce external symbol private to the linkage unit and is deprecated
-Wprotocolmethod %0 in protocol not implemented
-Wprotocol-property-synthesis-ambiguityproperty of type %0 was selected for synthesis
-Wreadonly-iboutlet-propertyreadonly IBOutlet property '%0' when auto-synthesized may not work correctly with 'nib' loader
-Wreadonly-setter-attrsproperty attributes '%0' and '%1' are mutually exclusive
-Wreceiver-exprreceiver type %0 is not 'id' or interface pointer, consider casting it to 'id'
-Wreceiver-forward-classreceiver type %0 for instance message is a forward declaration
-Wreceiver-is-weak"weak %select{receiver|property|implicit property}0 may be unpredictably set to nil
-Wreinterpret-base-class'reinterpret_cast' %select{from|to}3 class %0 %select{to|from}3 its %select{virtual base|base at non-zero offset}2 %1 behaves differently from 'static_cast'
-Wreorder%select{field|base class}0 %1 will be initialized after %select{field|base}2 %3
-Wrequires-super-attribute%0 attribute cannot be applied to %select{methods in protocols|dealloc}1
-Wreturn-stack-addressreturning address of label, which is local
-Wreturn-stack-addressreturning reference to local temporary object
-Wreturn-stack-addressaddress of stack memory associated with local variable %0 returned
-Wreturn-stack-addressreturning address of local temporary object
-Wreturn-stack-addressreference to stack memory associated with local variable %0 returned
-Wreturn-typenon-void %select{function|method}1 %0 should return a value, DefaultError
-Wreturn-typecontrol may reach end of non-void function
-Wreturn-typecontrol reaches end of non-void function
-Wreturn-type-c-linkage%0 has C-linkage specified, but returns user-defined type %1 which is incompatible with C
-Wreturn-type-c-linkage%0 has C-linkage specified, but returns incomplete type %1 which could be incompatible with C
-Wsectionsection does not match previous declaration
-Wselectorcreating selector for nonexistent method %0
-Wselector-type-mismatchmultiple selectors named %0 found
-Wself-assignexplicitly assigning a variable of type %0 to itself
-Wself-assign-fieldassigning %select{field|instance variable}0 to itself
-Wsentinelnot enough variable arguments in %0 declaration to fit a sentinel
-Wsentinel"missing sentinel in %select{function call|method dispatch|block call}0
-Wshadowdeclaration shadows a %select{" "local variable|" "variable in %2|" "static data member of %2|" "field of %2}1
-Wshadow-ivarlocal declaration of %0 hides instance variable
-Wshift-count-negativeshift count is negative
-Wshift-count-overflowshift count = width of type
-Wshift-op-parenthesesoperator '%0' has lower precedence than '%1' '%1' will be evaluated first
-Wshift-overflowsigned shift result (%0) requires %1 bits to represent, but %2 only has %3 bits
-Wshift-sign-overflowsigned shift result (%0) sets the sign bit of the shift expression's type (%1) and becomes negative
-Wshorten-64-to-32implicit conversion loses integer precision: %0 to %1
-Wsign-comparecomparison of integers of different signs: %0 and %1
-Wsign-conversionimplicit conversion changes signedness: %0 to %1
-Wsign-conversionoperand of ? changes signedness: %0 to %1
-Wsizeof-array-argumentsizeof on array function parameter will return size of %0 instead of %1
-Wsizeof-array-decaysizeof on pointer operation will return size of %0 instead of %1
-Wsizeof-pointer-memaccess'%0' call operates on objects of type %1 while the size is based on a " "different type %2
-Wsizeof-pointer-memaccessargument to 'sizeof' in %0 call is the same pointer type %1 as the %select{destination|source}2 expected %3 or an explicit length
-Wsometimes-uninitializedvariable %0 is %select{used|captured}1 uninitialized whenever %select{'%3' condition is %select{true|false}4|'%3' loop %select{is entered|exits because its condition is false}4|'%3' loop %select{condition is true|exits because its condition is false}4|switch %3 is taken|its declaration is reached|%3 is called}2
-Wstatic-local-in-inlinenon-constant static local variable in inline function may be different in different files
-Wstatic-self-initstatic variable %0 is suspiciously used within its own initialization
-Wstrict-selector-matchmultiple methods named %0 found
-Wstring-compareresult of comparison against %select{a string literal|@encode}0 is unspecified (use strncmp instead)
-Wstring-conversionimplicit conversion turns string literal into bool: %0 to %1
-Wstring-plus-charadding %0 to a string pointer does not append to the string
-Wstring-plus-intadding %0 to a string does not append to the string
-Wstrlcpy-strlcat-sizesize argument in %0 call appears to be size of the source expected the size of the destination
-Wstrncat-sizethe value of the size argument to 'strncat' is wrong
-Wstrncat-sizethe value of the size argument in 'strncat' is too large, might lead to a " "buffer overflow
-Wstrncat-sizesize argument in 'strncat' call appears " "to be size of the source
-Wsuper-class-method-mismatchmethod parameter type %diff{$ does not match super class method parameter type $|does not match super class method parameter type}0,1
-Wswitchenumeration value %0 not handled in switch
-Wswitchoverflow converting case value to switch condition type (%0 to %1)
-Wswitchenumeration values %0 and %1 not handled in switch
-Wswitchcase value not in enumerated type %0
-Wswitchenumeration values %0, %1, and %2 not handled in switch
-Wswitch%0 enumeration values not handled in switch: %1, %2, %3...
-Wswitch-enumenumeration value %0 not explicitly handled in switch
-Wswitch-enum%0 enumeration values not explicitly handled in switch: %1, %2, %3...
-Wswitch-enumenumeration values %0 and %1 not explicitly handled in switch
-Wswitch-enumenumeration values %0, %1, and %2 not explicitly handled in switch
-Wtautological-compare%select{self-|array }0comparison always evaluates to %select{false|true|a constant}1
-Wtautological-comparecomparison of unsigned%select{| enum}2 expression %0 is always %1
-Wtautological-comparecomparison of %0 unsigned%select{| enum}2 expression is always %1
-Wtautological-constant-out-of-range-comparecomparison of constant %0 with expression of type %1 is always %select{false|true}2
-Wthread-safety-analysisexpecting mutex '%0' to be locked at the end of function
-Wthread-safety-analysis%select{reading|writing}1 the value pointed to by '%0' requires locking %select{any mutex|any mutex exclusively}1
-Wthread-safety-analysisunlocking '%0' that was not locked
-Wthread-safety-analysismutex '%0' is locked exclusively and shared in the same scope
-Wthread-safety-analysisexpecting mutex '%0' to be locked at start of each loop
-Wthread-safety-analysis%select{reading|writing}2 variable '%0' requires locking %select{'%1'|'%1' exclusively}2
-Wthread-safety-analysis%select{reading|writing}2 the value pointed to by '%0' requires locking %select{'%1'|'%1' exclusively}2
-Wthread-safety-analysiscalling function '%0' requires %select{shared|exclusive}2 lock on '%1'
-Wthread-safety-analysislocking '%0' that is already locked
-Wthread-safety-analysiscannot resolve lock expression
-Wthread-safety-analysiscannot call function '%0' while mutex '%1' is locked
-Wthread-safety-analysismutex '%0' is still locked at the end of function
-Wthread-safety-analysismutex '%0' is not locked on every path through here
-Wthread-safety-analysis%select{reading|writing}1 variable '%0' requires locking %select{any mutex|any mutex exclusively}1
-Wthread-safety-attributes%0 attribute only applies to %select{fields and global variables|functions and methods|classes and structs}1
-Wthread-safety-attributes'%0' only applies to pointer types type here is %1
-Wthread-safety-attributes%0 attribute can only be applied in a context annotated with 'lockable' attribute
-Wthread-safety-attributesignoring %0 attribute because its argument is invalid
-Wthread-safety-attributes%0 attribute requires arguments whose type is annotated with 'lockable' attribute type here is '%1'
-Wthread-safety-attributes%0 attribute requires arguments that are class type or point to class type type here is '%1'
-Wthread-safety-betaThread safety beta warning.
-Wthread-safety-precisecalling function '%0' requires %select{shared|exclusive}2 lock on '%1'
-Wthread-safety-precise%select{reading|writing}2 the value pointed to by '%0' requires locking %select{'%1'|'%1' exclusively}2
-Wthread-safety-precise%select{reading|writing}2 variable '%0' requires locking %select{'%1'|'%1' exclusively}2
-Wtype-safetyargument type %0 doesn't match specified '%1' type tag %select{that requires %3|}2
-Wtype-safetyspecified %0 type tag requires a null pointer
-Wtype-safetythis type tag was not designed to be used with this function
-Wundeclared-selectorundeclared selector %0 did you mean %1?
-Wundeclared-selectorundeclared selector %0
-Wundefined-inlineinline function %q0 is not defined
-Wundefined-internal%select{function|variable}0 %q1 has internal linkage but is not defined
-Wundefined-reinterpret-castreinterpret_cast from %0 to %1 has undefined behavior
-Wundefined-reinterpret-castdereference of type %1 that was reinterpret_cast from type %0 has undefined behavior
-Wuninitializedreference %0 is not yet bound to a value when used within its own initialization
-Wuninitializedblock pointer variable %0 is uninitialized when captured by block
-Wuninitializedfield %0 is uninitialized when used here
-Wuninitializedreference %0 is not yet bound to a value when used here
-Wuninitializedvariable %0 is uninitialized when %select{used here|captured by block}1
-Wuninitializedvariable %0 is uninitialized when used within its own initialization
-Wunneeded-internal-declaration'static' function %0 declared in header file should be declared 'static inline'
-Wunneeded-internal-declaration%select{function|variable}0 %1 is not needed and will not be emitted
-Wunneeded-member-functionmember function %0 is not needed and will not be emitted
-Wunreachable-codewill never be executed
-Wunsequencedmultiple unsequenced modifications to %0
-Wunsequencedunsequenced modification and access to %0
-Wunsupported-frienddependent nested name specifier '%0' for friend class declaration is not supported turning off access control for %1
-Wunsupported-frienddependent nested name specifier '%0' for friend template declaration is not supported ignoring this friend declaration
-Wunsupported-visibilitytarget does not support 'protected' visibility using 'default'
-Wunused-comparison%select{equality|inequality}0 comparison result unused
-Wunused-const-variableunused variable %0
-Wunused-exception-parameterunused exception parameter %0
-Wunused-functionunused function %0
-Wunused-labelunused label %0
-Wunused-member-functionunused member function %0
-Wunused-parameterunused parameter %0
-Wunused-private-fieldprivate field %0 is not used
-Wunused-property-ivarivar %0 which backs the property is not referenced in this property's accessor
-Wunused-resultignoring return value of function declared with warn_unused_result attribute
-Wunused-valueexpression result unused should this cast be to 'void'?
-Wunused-valueexpression result unused
-Wunused-valueignoring return value of function declared with %0 attribute
-Wunused-variableunused variable %0
-Wunused-volatile-lvalueexpression result unused assign into a variable to force a volatile load
-Wused-but-marked-unused%0 was marked unused but was used
-Wuser-defined-literalsuser-defined literal suffixes not starting with '_' are reserved%select{ no literal will invoke this operator|}0
-Wvarargssecond argument to 'va_arg' is of promotable type %0 this va_arg has undefined behavior because arguments will be promoted to %1
-Wvarargs'va_start' has undefined behavior with reference types
-Wvarargssecond parameter of 'va_start' not last named argument
-Wvector-conversionincompatible vector types %select{%diff{assigning to $ from $|assigning to different types}0,1|%diff{passing $ to parameter of type $|passing to parameter of different type}0,1|%diff{returning $ from a function with result type $|returning from function with different return type}0,1|%diff{converting $ to type $|converting between types}0,1|%diff{initializing $ with an expression of type $|initializing with expression of different type}0,1|%diff{sending $ to parameter of type $|sending to parameter of different type}0,1|%diff{casting $ to type $|casting between types}0,1}2
-Wvexing-parseempty parentheses interpreted as a function declaration
-Wvexing-parseparentheses were disambiguated as a function declaration
-Wvisibilitydeclaration of %0 will not be visible outside of this function
-Wvisibilityredefinition of %0 will not be visible outside of this function
-Wvlavariable length array used
-Wvla-extensionvariable length arrays are a C99 feature
-Wweak-template-vtablesexplicit template instantiation %0 will emit a vtable in every translation unit
-Wweak-vtables%0 has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit

Lexer Warnings

WarningMessage
-W#pragma-messages%0
-W#warnings%0
-W#warnings%0
-Wambiguous-macroambiguous expansion of macro %0
-Wauto-importtreating #%select{include|import|include_next|__include_macros}0 as an import of module '%1'
-Wbackslash-newline-escapebackslash and newline separated by space
-Wc++11-compatidentifier after literal will be treated as a user-defined literal suffix in C++11
-Wc++11-compat'%0' is a keyword in C++11
-Wc++98-c++11-compatdigit separators are incompatible with C++ standards before C++1y
-Wc++98-c++11-compat-pedanticbinary integer literals are incompatible with C++ standards before C++1y
-Wc++98-compatraw string literals are incompatible with C++98
-Wc++98-compatunicode literals are incompatible with C++98
-Wc++98-compatuniversal character name referring to a control character is incompatible with C++98
-Wc++98-compat'::' is treated as digraph ':' (aka '[') followed by ':' in C++98
-Wc++98-compatusing this character in an identifier is incompatible with C++98
-Wc++98-compatspecifying character '%0' with a universal character name is incompatible with C++98
-Wc++98-compat-pedanticvariadic macros are incompatible with C++98
-Wc++98-compat-pedantic#line number greater than 32767 is incompatible with C++98
-Wc++98-compat-pedanticC++98 requires newline at end of file
-Wc++98-compat-pedanticempty macro arguments are incompatible with C++98
-Wc99-compatunicode literals are incompatible with C99
-Wc99-compat%select{using this character in an identifier|starting an identifier with this character}0 is incompatible with C99
-Wcomment'/*' within block comment
-Wcommentescaped newline between */ characters at block comment end
-Wdisabled-macro-expansiondisabled expansion of recursive macro
-Wheader-guard%0 is used as a header guard here, followed by #define of a different macro
-Wignored-attributesunknown attribute '%0'
-Wincomplete-moduleheader '%0' is included in module '%1' but not listed in module map
-Wincomplete-umbrellaumbrella header for module '%0' does not include header '%1'
-Winvalid-token-pastepasting formed '%0', an invalid preprocessing token, DefaultError
-Wmalformed-warning-check__has_warning expected option name (e.g. \"-Wundef\")
-Wnewline-eofno newline at end of file
-Wnull-characternull character ignored
-Wnull-characternull character(s) preserved in string literal
-Wnull-characternull character(s) preserved in character literal
-Wtrigraphsignored trigraph would end block comment
-Wtrigraphstrigraph ignored
-Wundef%0 is not defined, evaluates to 0
-Wunicodeuniversal character names are only valid in C99 or C++ treating as '\\' followed by identifier
-Wunicode\\%0 used with no following hex digits treating as '\\' followed by identifier
-Wunicodeincomplete universal character name treating as '\\' followed by identifier
-Wunicodeuniversal character name refers to a surrogate character
-Wunknown-pragmasunknown pragma ignored
-Wunknown-pragmaspragma STDC FENV_ACCESS ON is not supported, ignoring pragma
-Wunused-macrosmacro is not used

Parser Warnings

WarningMessage
-Warc-bridge-casts-disallowed-in-nonarc'%0' casts have no effect when not using ARC
-Wattributesunknown __declspec attribute %0 ignored
-Wavailability'unavailable' availability overrides all other availability information
-Wc++11-compatuse of right-shift operator ('') in template argument will require parentheses in C++11
-Wc++11-compat'auto' storage class specifier is redundant and incompatible with C++11
-Wc++98-c++11-compat'decltype(auto)' type specifier is incompatible with C++ standards before C++1y
-Wc++98-compatrange-based for loop is incompatible with C++98
-Wc++98-compatalias declarations are incompatible with C++98
-Wc++98-compatin-class initialization of non-static data members is incompatible with C++98
-Wc++98-compatdefaulted function definitions are incompatible with C++98
-Wc++98-compatrvalue references are incompatible with C++98
-Wc++98-compatreference qualifiers on functions are incompatible with C++98
-Wc++98-compatinline namespaces are incompatible with C++98
-Wc++98-compatgeneralized initializer lists are incompatible with C++98
-Wc++98-compattrailing return types are incompatible with C++98
-Wc++98-compatenumeration types with a fixed underlying type are incompatible with C++98
-Wc++98-compatalignof expressions are incompatible with C++98
-Wc++98-compat'%0' keyword is incompatible with C++98
-Wc++98-compat'decltype' type specifier is incompatible with C++98
-Wc++98-compatdeleted function definitions are incompatible with C++98
-Wc++98-compatconsecutive right angle brackets are incompatible with C++98 (use '> >')
-Wc++98-compatstatic_assert declarations are incompatible with C++98
-Wc++98-compatscoped enumerations are incompatible with C++98
-Wc++98-compatlambda expressions are incompatible with C++98
-Wc++98-compatattributes are incompatible with C++98
-Wc++98-compat'alignas' is incompatible with C++98
-Wc++98-compatnoexcept specifications are incompatible with C++98
-Wc++98-compatliteral operators are incompatible with C++98
-Wc++98-compatnoexcept expressions are incompatible with C++98
-Wc++98-compat'nullptr' is incompatible with C++98
-Wc++98-compat-pedanticextra '' outside of a function is incompatible with C++98
-Wc++98-compat-pedanticextern templates are incompatible with C++98
-Wc++98-compat-pedanticcommas at the end of enumerator lists are incompatible with C++98
-Wdangling-elseadd explicit braces to avoid dangling else
-WdeprecatedUse of 'long' with '__vector' is deprecated
-Wdeprecated-declarationsuse of C-style parameters in Objective-C method declarations is deprecated
-Wdeprecated-register'register' storage class specifier is deprecated
-Wduplicate-decl-specifierduplicate '%0' declaration specifier
-Wextra-semiextra ';' after member function definition
-Wextra-tokens"extra tokens at the end of '#pragma omp %0' are ignored
-Wgcc-compatGCC does not allow %0 attribute in this position on a function definition
-Wignored-attributesattribute %0 ignored, because it is not attached to a declaration
-Wmicrosoft-existsdependent %select{__if_not_exists|__if_exists}0 declarations are ignored
-Wmissing-selector-name%0 used as the name of the previous parameter rather than as part of the selector
-Wsemicolon-before-method-bodysemicolon before method body is ignored
-Wsource-uses-openmp"unexpected '#pragma omp ...' in program
-Wstatic-inline-explicit-instantiationignoring '%select{static|inline}0' keyword on expli

转载于:https://www.cnblogs.com/zhouyantongiOSDev/p/4365804.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

处理iOS开发中的各种警告 的相关文章

  • 大疆校招测评题--循环赛问题

    笔者在2022 7参加了大疆的测评题 其中有道循环赛问题 xff0c 记录下解题思路 循环赛问题 六名选手A B C D E F进行循环赛 每两名选手间比赛一次 xff0c 每名选手每天比赛一场 五天内完成循环赛 已知 xff1a 第一天C
  • Ubuntu22.04安装libudev-dev时的Bug

    新安装了Ubuntu22 04 xff0c 然后安装libudev dev xff1a sudo apt install libudev dev 发现了非常奇怪的事情 xff1a 正在读取软件包列表 完成 正在分析软件包的依赖关系树 完成
  • python爬虫教程——科研向

    引言 在科研中 xff0c 有时需要爬取网站上的文本数据 xff0c 用于统计分析 xff0c 或是制作机器学习所用的数据集 举个例子 xff0c 假如我们需要在世界野生鸟类声音网XenoCanto中 xff0c 爬取网站上的鸟类声音标签信
  • Ubuntu18.04虚拟机下安装opencv

    内容提要 xff1a 此文主要讲在Ubuntu18 04虚拟机下通过编译源码的方式安装opencv 一 首先 xff0c 安装VMware Workstations vmware下载渠道很多我是通过360软件管家下载的 安装过程默认就好 x
  • 笔记本Ubuntu18.04安装NVIDIA驱动,配置darknet环境,并跑yolov3例程(完全过程记录)

    前言 xff1a 我的笔记本电脑显卡为GTX 1050 xff0c 想利用它跑深度学习 xff0c 但是配置环境时遇到了好多问题 前前后后重装了十几次ubuntu xff0c 一个一个试网上的问题解决方案 xff0c 最终把环境搭好了 说多
  • Win7安装Ubuntu1804双系统

    靖哥哥我平时使用ubuntu不多 xff0c 所以都是在虚拟机安装ubuntn 不过因为有一次物理机强制关机 xff0c 导致虚拟机文件损坏 xff0c 此后再使用虚拟机时 xff0c 常遇到死机的情况 xff0c 所以琢磨一下安装双系统
  • C++编译之make cmake bazel模板

    前面文章介绍了C 43 43 编译过程 xff1a 预处理 编译 汇编 链接 xff0c 内容比较简单 xff0c 只要会使用命令行 xff0c 就能根据文章的内容实践操作 xff0c 直观的了解编译全过程 一个项目往往不只一两个cpp文件
  • android之Fragment(官网资料翻译)

    Fragment要点 Fragment作为Activity界面的一部分组成出现 可以在一个Activity中同时出现多个Fragment xff0c 并且 xff0c 一个Fragment亦可在多个Activity中使用 在Activity
  • 个人面试经历经验谈

    到昨天接到金蝶得Offer xff0c 我想我为期三个星期的找工作面试之旅应该是告一段落了 原以为接到Offer会有点高兴 xff0c 但是一回味这三个星期的起起落落 xff0c 便实在是高兴不起来 xff0c 虽然手上有好几个Offer可
  • linux 查看端口占用情况

    1 查看系统端口 netstat anptl显示所有正在监听的端口 2 刷选某个端口 netstat anptl grep 39 3350 39 3 查看占用端口的应用程序 ps lt PID gt 下图中可以看到端口8080 的PID 6
  • eclipse tomcat部署项目开发环境修改访问路径

    eclipse tomcat部署项目开发环境修改访问路径
  • 欢迎使用CSDN-markdown编辑器

    欢迎使用Markdown编辑器写博客 本Markdown编辑器使用StackEdit修改而来 xff0c 用它写博客 xff0c 将会带来全新的体验哦 xff1a Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传
  • PLSQL 11 注册码

    PLSQL 11 注册码 注册码 xff1a Product Code xff1a 4t46t6vydkvsxekkvf3fjnpzy5wbuhphqz serial Number xff1a 601769 password xff1a x
  • ORA-28000: the account is locked-的解决办法

    ORA 28000 the account is locked 第一步 xff1a 使用PL SQL xff0c 登录名为system 数据库名称不变 xff0c 选择类型的时候把Normal修改为Sysdba 第二步 xff1a 选择my
  • IOS中bootstrap-select 动态加载的下拉框点击不展示(已解决)

    问题描述 bootstrap select 动态加载的option 在安卓浏览器中能点击后展示 但是在ios浏览器中点击没反应 发现原因 在重新渲染方法后加了一行 s e
  • S7-PLCSIM 无法找到STEP 7 V15 许可证(必须在此计算机上安装STEP V15应用程序)。-----(已解决)

    已经安装过step7 并且已经授权过了 xff0c 但是启动时提示下图错误 记得右键已管理员身份运行
  • 新建springboot项目, pom.xml报错 Unkown error 解决思路

    新建项目pom xml 报错 网上解决思路 xff1a 1 大多都是项目右键 Maven Update Project 选中Force Update of Snapshots Releases 进行强制更新 2 1 5 改成了2 1 3 修
  • 嵌入式软件面试总结

    背景 先说说本人的背景 xff0c 我 xff0c 一个大专人 xff0c 从事嵌入式开发两年了 xff0c 之前在一家公司是负责单片机和物联网开发的 2020年年底我选择了裸辞 xff08 主要想出去玩 xff09 直到春节结束后 xff
  • Intel NUC安装ubuntu系统的方法

    使用intel nuc安装ubuntu系统 xff0c 试验了好多次UEFI安装 xff0c 但是结果都是开机时会出现 A bootable device 除了这句话都是黑屏的现象 原因我查了很多 xff0c 也不敢确定 xff0c 现在总
  • 白骑士的树莓派教学(二):镜像烧录

    本期内容让我们来了解一下树莓派操作系统镜像烧录的操作 xff0c 所需的设备 xff1a PC机 xff0c U盘 xff0c 树莓派相关设备 什么是镜像 xff1f 所谓镜像文件其实和ZIP压缩包类似 xff0c 它将特定的一系列文件按照

随机推荐

  • VS Code Remote SSH远程连接异常:Resolver error: Error: Running the contributed command

    VS Code Remote SSH远程连接异常 问题描述原因分析解决方案扩展Remote SSH首次连接插件做了什么Remote SSH对于远程Linux的要求 问题描述 通过VS Code插件Remote SSH连接一台新主机时 xff
  • PHP常用六大设计模式

    单例模式 特点 xff1a 三私一公 xff1a 私有的静态变量 xff08 存放实例 xff09 xff0c 私有的构造方法 xff08 防止创建实例 xff09 xff0c 私有的克隆方法 防止克隆对象 xff0c 公有的静态方法 xf
  • matlab中文乱码的解决(UTF-8不支持的问题)

    1 解决editor中的UTF 8不支持的问题 xff0c 需要加入下面几行 在matlab 安装的目录的bin子文件夹中找到lcdata xml文件 xff1a 打开加入 lt Locale entries example gt lt l
  • FreeRTOS分析

    freertos是一个轻量级的rtos xff0c 它目前实现了一个微内核 xff0c 并且port到arm7 avr pic18 coldfire等众多处理器上 xff1b 目前已经在rtos的市场上占有不少的份额 它当然不是一个与vxw
  • STM32之FreeRTOS

    学习操作系统 xff0c 我并没有一开始就学习UCOS xff0c 而是选择了FreeRTOS FreeRTOS可以方便地搭建在各个平台上 xff0c 因为汇编相关 xff0c 都已经由官方完成 xff0c 我们要做的仅是添加自己的代码 x
  • FrankMocap Fast monocular 3D Hand and Body Motion Capture by Regression and Intergretion

    paper title FrankMocap Fast monocular 3D Hand and Body Motion Capture by Regression and Intergretion paper link https ar
  • 矩阵中的路径(C++)

    题目 xff1a 请设计一个函数 xff0c 用来判断在一个矩阵中是否存在一条包含某字符串所有字符的路径 路径可以从矩阵中的任意一个格子开始 xff0c 每一步可以在矩阵中向左 xff0c 向右 xff0c 向上 xff0c 向下移动一个格
  • TensorFlow入门(五)多层 LSTM 通俗易懂版

    欢迎转载 xff0c 但请务必注明原文出处及作者信息 64 author huangyongye 64 creat date 2017 03 09 前言 根据我本人学习 TensorFlow 实现 LSTM 的经历 xff0c 发现网上虽然
  • 程序员面试经历

    现在找工作 已经没有了毕业以后那时候找工作的那种紧张心情 自从在上家公司离职以后 自己进行了一段时间的工作 世界上本来没有面霸 面试的多了 也就成了面霸 不得不承认 一开始自己面试是有些紧张 但是 面试的多了 也就不觉得紧张 反而有些平淡了
  • keil中快速注释一段代码

    方法一 xff1a 在该段代码的前面加 在该段代码的后面加 代码 方法二 xff1a 自行添加快捷键 lt 1 gt 点击configuration lt 2 gt 点击shortcut keys xff0c 选择Edit Advanced
  • java实习两个月总结

    实习两个月总结 刚开始实习的时候激情满满 慢慢的激情也退却了 在杭州月薪3000干了两个月我自己都觉得不可思议 杭州的物价大家有目共睹 先谈谈收获 认识了java8的新特性 了解了开发中常用的工具和工具包 持续集成部署的jenkins sw
  • 一台电脑如何装3个系统操作教程

    很多小伙伴都想安装个三系统试试 xff0c 但是安装三系统需要一些装机基础才能成功安装 xff0c 电脑如何安装三系统 接下来快启动小编带大家了解电脑如何安装三系统的详细操作 xff0c 希望给走入迷途的小伙伴一些正能量 电脑三系统安装准备
  • Modbus的常见问题解答:多台设备如何连接?为什么要加终端电阻?RS485总线可挂接多少个设备?在RS485通讯中,最大传输距离是多少?

    多台RS485设备如何连接呢 xff1f 使用屏蔽双绞线 xff0c 采用手拉手菊花链式拓扑结构将网关和各串行设备节点连接起来 xff0c 并在网络起始端和末尾端设备的RS485 43 和RS485 之间各并接一个120 电阻以减少信号在两
  • ADRC学习|TD微分跟踪器(原理解析和Matlab实现)

    系列文章目录 TD微分跟踪器 原理解析和Matlab实现 状态扩张观测器 目录 系列文章目录前言微分跟踪器作用原理线性TD非线性TDTD的一个定理最速离散控制函数 Matlab实现参考文献 前言 学习韩老师的ADRC xff0c 把学习过程
  • ROS踩坑|warning:clock skew detected. Your build may be incomplete

    报错展示 warning xff1a clock skew detected Your build may be incomplete 问题分析 ROS编译时遇到这个问题95 是因为系统时钟错误了 xff0c 比如说你之前的编译的时间时20
  • ros学习|功能包相关|查找、安装、卸载删除某个功能包

    在运行别人的demo时 xff0c 是不是会出现找不到功能包的情况 所以查找 安装和卸载某个功能包是蛮重要的 查找 查询当前安装完成的所有包文件 rospack list 查询ros的所有功能包 span class token funct
  • Vector数组类型在ROS开发中的用法小结

    目录 前言数组类型在不同消息类型中的定义在ROS消息中的定义在C 43 43 中定义数组 vector数组的一些常用操作基本操作求数组的最值遍历数组排序数组查找数组注意 前言 ROS系统的一个显著优势就是分布式和灵活性 xff0c 用户可以
  • Java 核心技术卷一 随笔

    Java 易混 xff0c 重难点汇总 1 基础篇 整型 浮点 final 一般用于指示常量 xff0c 即变量只能被赋值一次 一旦被赋值 xff0c 就不能更改了 xff08 即没有set方法 xff09 命名规则一般使用全大写及下划线
  • Linux 面试最常问的十个问题

    如果你要去面试一个Linux系统运维工程师的职位 xff0c 下面这十个最常见的问题一定要会 xff0c 否则你的面试可能就危险了 这些都是比较基本的问题 xff0c 大家要理解 xff0c 不能光死记硬背 1 如何查看系统内核的版本 这里
  • 处理iOS开发中的各种警告

    iOS开发中我们会遇到各种警告 包括第三方不再支持更新导致的警告 苹果一些过时方法的警告 其中尤其是ASIHttpRequest的不支持更新导致有很多的警告 所以我在这里做了罗列 Semantic Warnings WarningMessa