当前位置: 代码迷 >> WinCE >> PB5.0,编译出现异常:error C2220: warning treated as error - no object file generated
  详细解决方案

PB5.0,编译出现异常:error C2220: warning treated as error - no object file generated

热度:84   发布时间:2016-04-28 12:56:13.0
PB5.0,编译出现错误:error C2220: warning treated as error - no object file generated
平台:PB5.0  

小弟做一个内核时候,在build阶段出现一个错误,具体如下:

BUILD: [00:0000000029:PROGC ] Compiling \WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\ directory.
BUILD: [01:0000000036:PROGC ] Compiling .\kitldrv.c
BUILD: [01:0000000039:ERRORE] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(33) : error C2220: warning treated as error - no object file generated
BUILD: [01:0000000040:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(33) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000041:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(33) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000042:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(34) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000043:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(34) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000044:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(35) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000045:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(35) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000046:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(36) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000047:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(36) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000048:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(37) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000049:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(37) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000050:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(38) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000051:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(38) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000052:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(39) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000053:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(39) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000054:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(40) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000055:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(40) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000056:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(41) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
BUILD: [01:0000000057:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(41) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'OAL_KITL_ETH_DRIVER *'
BUILD: [01:0000000058:WARNN ] E:\WINCE500\PLATFORM\855gme\Src\Kernel\Libs\Kitl\kitldrv.c(42) : warning C4047: 'initializing' : 'UCHAR' differs in levels of indirection from 'char [3]'
  相关解决方案