高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】wchar-t Issues In Vc2005sp1
wchar_t issues in vc2005sp1
wchar_t issues in vc2005sp1
hi,all. i just went though some threads about wchar_t issues. in a summary, dd2.4 is /zc:wchar_t- (not vc2005 default). the bug is from ms's /clr option under managed code.but i want to use dd in /zc:wchar_t+. if my app isnot managed code, is it safe to use /zc:wchar_t+ ? or we have to wait for next version of dd. thanks!
there is a compiler bug in /crl implementation, that makes impossible to use some language constructions in /wchar_t- libraries.
you can use dd libs w/o switching your projects to /wchar_t- only in unmanaged mode.
(this is true for 2.5 also. i didn't check vc9 though - perhaps this bug is fixed there).
vladimir
is this fixed in vc9?
afaik, the bug you referred to can be avoided by including #using declarations after dd headers. also, it concerns only /zc:wchar_t-
vladimir
|