1、error: macro names must be identifiers YourProject_prefix.pch 原因: 因为你弄脏了预处理器宏,在它处于的时候修改了它 解决方法: Configiration选择All Configirations,清空它 然后分别重新定义你的De.....
分类:
其他好文 时间:
2014-07-10 14:17:59
阅读次数:
146
macro :#define list_entry(ptr,type,member) \ ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))功能 从一个结构的成员指针找到其容器的指针原理: ptr是指向type结构体...
分类:
其他好文 时间:
2014-07-06 23:16:44
阅读次数:
318
引用计数很巧妙也很方便,但大部分处理过程涉及指针,难免比较烦琐,也容易出错。针对这个问题,Cocos2d-x为我们准备了一系列辅助宏来简化代码,这些宏都包含在头文件"CCPlatform Macro.h"里。表2-2列出了与内存管理相关的宏。?表2-2 Cocos2d-x中与内存管理有关的宏?宏?描...
分类:
其他好文 时间:
2014-06-30 11:50:43
阅读次数:
174
$@$@ is the name of the target.$?The $? macro stores the list of dependents more recent than the target (i.e., those that have changed since the last ...
分类:
其他好文 时间:
2014-06-28 10:50:20
阅读次数:
192
【Platform Dependent Compilation】1、Platform Defines 2、在Project Setting -> Player 面板的Other Settings的Scripting Define Symbols可以自定义macro,在此片定义的macro会被所有代....
分类:
其他好文 时间:
2014-06-26 18:35:08
阅读次数:
190
1、错误描述
六月 25, 2014 11:32:49 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Macro select has no such argument: name"
Macro select has no such argument: name
Th...
分类:
其他好文 时间:
2014-06-26 13:30:22
阅读次数:
175
[{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, { // Emmet: Zencoding "ke...
分类:
其他好文 时间:
2014-06-25 15:31:43
阅读次数:
154
Make命令本身可带有四种参数:标志、宏定义、描述文档名和目标文档名。其标准形式为: Make [flags] [macro definitions] [targets] Unix系统下标志位flags选项及其含义为: -f file 指定file文档为描述文档,假如file参数为"...
分类:
其他好文 时间:
2014-06-18 08:59:54
阅读次数:
215
命令模式(command pattern) 宏命令(macro command) 详解本文地址: http://blog.csdn.net/caroline_wendy参考: 命名模式(撤销): http://blog.csdn.net/caroline_wendy/article/details/31419101命令模式可以执行宏命令(macro command), 即多个命令的组合操作.具体方...
分类:
其他好文 时间:
2014-06-17 23:14:44
阅读次数:
324
安装时出现configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autocon...
分类:
其他好文 时间:
2014-06-17 16:36:01
阅读次数:
1500