[绍棠] ReactNative : ignoring return value of function declared with warn_unused_result attribute
2017-11-21 09:38
806 查看
运行ReactNative 的项目会报错 ignoring return value of function declared with warn_unused_result attribute
![](https://img-blog.csdn.net/20160919151745195?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
解决方法:RCTWebSocket => TAGETS =>Build Settings => Custom Compiler Flags 去掉 -Werror -Wall两个flags 再运行项目就可以了
解决方法:RCTWebSocket => TAGETS =>Build Settings => Custom Compiler Flags 去掉 -Werror -Wall两个flags 再运行项目就可以了
相关文章推荐
- ReactNative : ignoring return value of function declared with warn_unused_result attribute
- ReactNative : ignoring return value of function declared with warn_unused_result attribute
- react native 打包Ignoring return value of function declared with warn_unused_result attribute
- The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one
- Warning 534: Ignoring return value of function 'printf
- 让人哭笑不得的 The value of attribute "value" associated with an element type "prope
- IOS __attribute__ ((warn_unused_result))的含义
- IOS __attribute__ ((warn_unused_result))的含义
- The value of attribute "description" associated with an element type "target" must not contain the '<' character.
- Usage sample of unix signal to handle function call with a timeout value.
- BUG6:Cannot return a value from a method with void result type 返回值错误
- error: ignoring return value of 编译错误处理
- About the return value of SetTimer function
- Description Resource Path Location Type The value of attribute "schema" associated with an element t
- With form validation: why onSubmit=“return functionname()” instead of onSubmit=“functionname()”?
- About the return value of the main function
- The value of attribute "title" associated with an element type "question" must not contain the '<' c
- Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'value' attribute
- Attribute value is quoted with " which must be escaped when used within the value 问题解决
- error: call to '__open_missing_mode' declared with attribute error: