问题:undefined reference to rpl_malloc解决方法:$ vim configure.ac 屏蔽:# AC_FUNC_MALLOC重新生成配置文件:$ autoreconf 执行看看:./configure --build=i686 --host=arm-none-linux-gnueabi && makeOKauthor: fulinuxE-mail: fulinux...
分类:
其他好文 时间:
2014-09-12 11:56:03
阅读次数:
165
oracle数据库:为了使ID自增,建了序列后,创建触发器:create or replace TRIGGER TRIG_INSERT_TRADE_RECODE BEFORE INSERT ON TRADE_RECODE FOR EACH ROW BEGIN :NEW.ID:=SEQ_TRADE_R...
分类:
其他好文 时间:
2014-09-11 16:51:32
阅读次数:
373
templatevoid f(char (&arr)[N]){ std::cout << sizeof(arr) << '\n';}此时数组不会退化为指针(C++11 section 8.3.5.5)
分类:
编程语言 时间:
2014-09-11 16:40:42
阅读次数:
224
Encounted such error in VS after I update the xamarin at Mac side.Here is the solution for u to reference: Open VS ->Tools->Options->Xamarin->IOS Sett...
分类:
移动开发 时间:
2014-09-11 15:08:52
阅读次数:
320
很多朋友的php程序当php的版本升级到5.3以后,会出现"Deprecated: Assigning the return value of new by reference is deprecated in"显示出来。这是因为5.3以后,不能使用"=&"符号,可以直接用"="就可以了。所以当出现...
分类:
其他好文 时间:
2014-09-10 20:53:21
阅读次数:
178
ARC forbids explicit message send of ‘release‘ ‘release‘ is unavailable: not available in automatic reference counting mode 今天,遇到了这么样的问题。 很显然,是ARC的问题。 错误原因:因为我们设置...
分类:
其他好文 时间:
2014-09-09 23:11:09
阅读次数:
920
这一章暂时没写完,先留着以后再写。在C++程序中,程序员可以给手动开辟内存,但是这块内存需要手动释放,不便管理,因此新标准提供智能指针类型来管理动态对象。它负责自动释放所指向的对象。shared_prt允许多个指针指向同一个对象unique_ptr独占所指向的对象weak_ptr是一个弱引用,指向s...
分类:
编程语言 时间:
2014-09-09 21:28:39
阅读次数:
413
可以在故事版中设置好所需要的图片,然后现在h文件中声明按钮的属性和方法- (IBAction)moodViewShow:(id)sender;@property (weak, nonatomic) IBOutlet UIButton *faceBtn;并且与故事版完成连接,然后在按钮的方法里设置选中...
分类:
移动开发 时间:
2014-09-09 18:10:09
阅读次数:
239
之前我们要可以详细了解RIL层的工作过程,不过如果单纯去调reference-ril库的话,也没有必要详细了解其他库。但我们要知道基本的启动过程,以便于调试。开机过程中无线模块的初始化过程:rild 调用参考实现 Reference-ril.c (hardware/ril/reference-ril...
分类:
移动开发 时间:
2014-09-09 17:56:29
阅读次数:
362
Reference article : How to hide an entry in the Add/Remove Programs applet?In Wix source files, set property ARPSYSTEMCOMPONENT = 1 would do this, for...