Why do I have warning “C4199 two-phase name lookup is not supported for C++/CLI, C++/CX, or openmp”?

不羁的心 提交于 2019-12-21 18:57:51

问题


I have many templates in my project. Everything is running fine but I've been getting this warning many times for a long time now. Should I keep ignoring it or should I use #pragma warning(disable : 4199)?


回答1:


Ok Thanks to Simon and Raymond's article I was able to solve it. I no more have that warning anywhere in my code. Just added the command as the article describes at it's very bottom.

Here's an image of where exactly I added the command for those like me that might have trouble finding it.



来源:https://stackoverflow.com/questions/56782470/why-do-i-have-warning-c4199-two-phase-name-lookup-is-not-supported-for-c-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!