String value encountered a warning message, record it
Sending 'const NSString *__strong' to parameter of type 'NSString *' discards qualifiers
The code is written like this
UIKIT_EXTERN const NSString * kNetworkType;
This warning will be issued when using it, and it will be changed to:
UIKIT_EXTERN NSString * const kNetworkType;
If const is placed after nsstring *, there will be no warning.
Read More:
- error: non-const lvalue reference to type cannot bind to a value of unrelated type
- Error C2664 in C + + compilation: cannot convert parameter 2 from “const char [5]” to “lpctstr” solution.
- Error: (22,57) Java: type parameter… Mapper is not in the range of type variable M
- When C language refers to a user-defined type as a parameter, an error segmentation fault is reported
- Failed to execute ‘getComputedStyle’ on ‘Window’: parameter 1 is not of type ‘Element’.
- Complex warning: casting complex values to real discards the imaginary part
- Uncaught TypeError: Failed to execute ‘appendChild’ on ‘Node’: parameter 1 is not of type ‘Node How to Fix
- Uncaught TypeError: Failed to execute ‘removeChild’ on ‘Node’: parameter 1 is not of type ‘Node’.
- org.apache.ibatis.type.TypeException: Error setting non null for parameter #4 with JdbcType null
- Strong name validation failed solution
- E / Art: failed sending reply to debugger: a solution to broken pipe
- Solve the problem of forward parameter req and resp parameter error
- Undefined reference to ‘CV:: imread (CV:: String const & int)’
- Error type referred to is not an annotation type:RedisCache
- Failed sending reply to debugger: Broken pipe
- There was a problem sending the command to the program in Excel 2010
- Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;
- Unity Error:InvalidCastException: Cannot cast from source type to destination type.
- Spring boot does not take effect when using @ size to verify a single set parameter of the control layer
- After introducing sass into Vue project, start to report error typeerror [err]_ INVALID_ ARG_ Type]: the “path” argument must be of type string