2014年9月22日

c++交叉#include问题

摘要: 这个问题会引起莫名其妙的编译错误,碰到类里有其他类的指针的话,不要#include,提前声明下即可class_a.h#ifndef CLASS_A_H #define CLASS_A_H class B; class A { public: void Print() ... 阅读全文

posted @ 2014-09-22 20:57 防空洞123 阅读(550) 评论(0) 推荐(0) 编辑

使用ndk-stack来查找崩溃

摘要: logcat报错Fatal signal 6 (SIGABRT) at 0x000025c9 (code=-6), thread 9703 (Thread-1277)都是一些寄存器以及函数地址,真不知道怎么找具体哪个函数出错了,这个时候使用ndk-stack这个工具,ndk-stack需要log作为... 阅读全文

posted @ 2014-09-22 09:55 防空洞123 阅读(271) 评论(0) 推荐(0) 编辑

导航