In C# we can use #warning to show a warning in error window.
In Visual C++, #pragma message is something like that, but it just a outputs a message not a warning.
In C++ (Windows, Visual Studio, MSVC) is there a way to show a warning to user purposely?
I tried #warning DEBUG is defined which works in some other compilers, but not MSVC.
It gives me this error:
error C1021: invalid preprocessor command 'warning' AecProject stdafx.h 49