![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 05:02 PM. |