迁移问题Visual Studio 2010到2015 [英] Migration issue Visual Studio 2010 to 2015
问题描述
我正在尝试将VS2010迁移到VS2015并在使用VS2015进行编译时出现以下错误。
$
错误C2323:'operator delete':非成员运算符new或delete函数可能不会被声明为静态或在全局命名空间以外的命名空间中。
我不想在我的代码中进行更改。 无论如何使用2015编译器并告诉它继续"接受"旧构造?
I am trying to migrate VS2010 to VS2015 and getting below error when compiling with VS2015.
error C2323: 'operator delete': non-member operator new or delete functions may not be declared static or in a namespace other than the global namespace
I don't want to make changes in my code. Is there anyway to use 2015 compiler and tell it to continue to "accept" the old constructs?
感谢您的帮助!
推荐答案
我正在尝试将VS2010迁移到VS2015并在使用VS2015进行编译时遇到错误。
错误C2323:'operator delete':非成员运营商new或删除函数可能不会被声明为静态或在全局命名空间以外的命名空间中。
我不想在我的代码中进行更改。 无论如何使用2015编译器并告诉它继续"接受"旧的结构?
I am trying to migrate VS2010 to VS2015 and getting below error when compiling with VS2015.
error C2323: 'operator delete': non-member operator new or delete functions may not be declared static or in a namespace other than the global namespace
I don't want to make changes in my code. Is there anyway to use 2015 compiler and tell it to continue to "accept" the old constructs?
感谢您的帮助!
Thanks for any help!
我正在尝试将VS2010迁移到VS2015并在使用vs2015进行编译时低于错误。
I am trying to migrate VS2010 to VS2015 and getting below error when compiling with vs2015.
error C2323: 'operator delete': non-member operator new or delete functions may not be declared static or in a namespace other than the global namespace
无论如何使用2015编译器并告诉它继续"接受"旧结构?
Is there anyway to use 2015 compiler and tell it to continue to "accept" the old constructs?
这篇关于迁移问题Visual Studio 2010到2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!