WinCE debug Q&A


Q:  Build error afte BSP is gotten from indian.

BUILD: [01:0000003937:ERRORE] C:\WINCE600\platform\COMMON\src\soc\COMMON_TI_V1\AM389X\inc\Am389xEmacRegs.h : error C2220: warning treated as error - no 'object' file generated
BUILD: [01:0000003938:WARNN ] C:\WINCE600\platform\COMMON\src\soc\COMMON_TI_V1\AM389X\inc\Am389xEmacRegs.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
BUILD: [00:0000003939:PROGC ]                        Files  Warnings  Errors

A: Modify this file and resave it again. And rebuild. It should be OK.


Q: Build error as followings

BUILD: [01:0000002869:ERRORE] c:\wince600\public\common\oak\inc\sync.hxx(102) : error C2220: warning treated as error - no 'object' file generated
BUILD: [01:0000002870:WARNN ] c:\wince600\public\common\oak\inc\sync.hxx(102) : warning C4100: 'cs' : unreferenced formal parameter
BUILD: [01:0000002871:WARNN ] C:\WINCE600\public\common\sdk\inc\xmemory(53) : warning C4100: '_P' : unreferenced formal parameter

A: Add the following to disable the error msg

#pragma warning(push)
#pragma warning(disable: 4100)
...............

#pragma warning(pop
)


Q: BUILD: [01:0000002422:ERRORE] C:\WINCE600\PLATFORM\COMMON\SRC\SOC\COMMON_TI_V1\COMMON_TI\DSS\DDGPE\.\halcaps.cpp(177) : fatal error C1189: #error :  DDSCAPS_OWNDC not defined, please install all QFEs (DDSCAPS_OWNDC was added in January 2008 QFE).

A: Install R3 patch.


Q:How to locate the exception in source code?

A:Use PC and RA to check map/con file to find the issue line.

    Refer to http://blog.csdn.net/wskelan/article/details/7584843


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值