![]() |
【转帖】[arx]再次发帖,用vs
[arx]再次发帖,用vs
qq 9342546 上面的写错了 高手给看一下,用上面的方法能很好的编译不含mfc的arx程序。但是只要一包含mfc的代码,就会出很多错误。空白项目都会出错: 正在编译... xfharx.cpp compiling mfc / stl / atl header files in release mode. i:\vc70\atlmfc\include\atlsimpstr.h(195) : warning c4346: “atl::chtraitsbase<basetype>::xchar” : 依赖名称不是类型 用“typename”为前缀来表示类型 i:\vc70\atlmfc\include\atlsimpstr.h(750) : 参见对正在编译的类模板实例化“atl::csimplestringt<basetype>”的引用 i:\vc70\atlmfc\include\atlsimpstr.h(195) : error c2146: 语法错误 : 缺少“;”(在标识符“xchar”的前面) i:\vc70\atlmfc\include\atlsimpstr.h(195) : error c2501: “atl::csimplestringt<basetype>::xchar” : 缺少存储类或类型说明符 i:\vc70\atlmfc\include\atlsimpstr.h(196) : warning c4346: “atl::chtraitsbase<basetype>::pxstr” : 依赖名称不是类型 后面还有很多类似的错误。请高手给指点一下是为什么。 |
| 所有的时间均为北京时间。 现在的时间是 06:24 PM. |