Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)?

like image 617
BioAbner J Avatar asked Jun 27 '19 00:06

BioAbner J


1 Answers

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.

MSVC twoPhase option

like image 103
BioAbner J Avatar answered Sep 20 '22 08:09

BioAbner J