When I try to add ATL library installed by Visual Studio to my C++ project, I have a lot of compile errors in ATL files. For example:
error: 'warning' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
} __pragma(warning(suppress:4127)) while (0)
What can it be caused by?