查看单个帖子
旧 2009-05-04, 07:01 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】dd 1.11 does not compile in debug using vc2003mt libs - memc

dd 1.11 does not compile in debug using vc2003mt libs - memc
dd 1.11 does not compile in debug using vc2003mt libs - memcpy error
compiling in debug using the following libs from vc2003mt:
\lib\vc2003mt\dd_vc2003mt_alloc.lib
\lib\vc2003mt\dd_vc2003mt_db.lib
\lib\vc2003mt\dd_vc2003mt_dwfexport.lib
\lib\vc2003mt\dd_vc2003mt_dwfimport.lib
\lib\vc2003mt\dd_vc2003mt_dwftoolkit.lib
\lib\vc2003mt\dd_vc2003mt_ge.lib
\lib\vc2003mt\dd_vc2003mt_gi.lib
\lib\vc2003mtd\dd_vc2003mt_root.lib
\lib\vc2003mtd\dd_vc2003mt_zip.lib
\lib\vc2003mtd\dd_vc2003mt_zlib.lib
i get the error:
... '\include\debugstuff.h(145) : error c2169: 'memcpy' : intrinsic function, cannot be defined'
using the debug version of the libs in vc2003mtd produces the same result. compiling in release works as expected. any thoughts?
my current solution is to comment our the memcpy define section but i would like to have a solution where i do not have to do this everytime.
regards,
ryan
using intrinsic functions in debug build does not seem reasonable,
are you sure you need them?
(fyi: intrinsics are turned on by /oi compiler switch)
thanks. i think i will just turn off that compiler option in debug.
ryan
quote:
originally posted by wvk
using intrinsic functions in debug build does not seem reasonable,
are you sure you need them?
(fyi: intrinsics are turned on by /oi compiler switch)
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)