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


你可能感兴趣的:(WinCE,WinCE,debug)