查看单个帖子
旧 2009-05-04, 02:51 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】2.0.3 debug compile errors on vc 6

2.0.3 debug compile errors on vc 6
2.0.3 debug compile errors on vc 6
hi all,
maybe my question is a bit stupid, but i can't get out of this problem:
with version 1.14 of opendwg my app was compiled without errors in release and debug mode.
now with version 2.0.3 in relase mode i get no errors, everything is ok, in debug mode i get tons of errors like these ones:
--------------------------------------------------------------------------
c:\programmi\microsoft visual studio\vc98\include\malloc.h(105) : error c2059: syntax error : 'constant'
c:\programmi\microsoft visual studio\vc98\include\malloc.h(105) : error c2733: second c linkage of overloaded function '_calloc_dbg' not allowed
c:\programmi\microsoft visual studio\vc98\include\malloc.h(105) : see declaration of '_calloc_dbg'
c:\programmi\microsoft visual studio\vc98\include\malloc.h(106) : error c2059: syntax error : 'constant'
c:\programmi\microsoft visual studio\vc98\include\malloc.h(106) : error c2733: second c linkage of overloaded function '_free_dbg' not allowed
c:\programmi\microsoft visual studio\vc98\include\malloc.h(106) : see declaration of '_free_dbg'
--------------------------------------------------------------------------
all are located in file malloc.h...
what do i do wrong ?
what do i have to modify ???
im my app i use mfc dynamically linked ad not use unicode.
thanks in advance to everyone!
carlo.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)