向Carbide.c++ Express导入MMP文件时会漏掉定义堆栈大小的部分
文章信息
KIS000589
- 设备, 软件 版本:
S60 3rd Edition
- 详细描述
在工程定义文件(.MMP)中的EPOCSTACKSIZE部分设置了程序执行时的堆栈大小(原默认为8KB)。当我们向Carbide.c++ Express导入MMP文件时,这个部分定义并没有读入Carbide的工程设置。
- 解决方案
我们可以在Carbide.c++工程属性中手动修改堆栈大小:
在工程的“属性”中,进入如下操作:
-> C/C++ Build, S60 3.0 Phone (GCCE) Release configuration
-> Post Linker -> General Options
-> Stack size in bytes (insert a number in hexadecimal)


(no comments yet)