报错: Conversion from String Literal to Char* is deprecated
C++ string literals are arrays of const char
, which means you can't legally modify them.If you want to safely assign a string literal to a pointer (which involves an implicit array-to-pointer conversion), you need to declare the target pointer as const char*
, not just as char*
.
- Xcode警告:[WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/no.png
target引用了名字重复的资源.找到当前的target,展开之后,找到Copy Bundle Resources栏目,然后在里面找到重复名字的资源,删除不要的那个即可
http://www.csdn 123.com/html/blogs/20130416/3103.htmjsoncpp编译使用
http://www.cocoachina.com/downloads/code/2012/0419/4172.htmljsoncpp解析u编码中文【源码修改