title: Intentional compiler warnings for Visual C++ that appear in Error List?
body: <p>How can you create a compiler warning (in the model of #error, except as a warning) on purpose in Visual C++ that will show up on the Error List with the correct file and line number?</p>
  
  <p>GCC and other compilers offer #warning, but the MSVC compiler does not.</p>
  
  <p>The "solution" at <a href="http://support.microsoft.com/kb/155196" rel="noreferrer">http://support.microsoft.com/kb/155196</a> does not parse in the Visual Studio error list.</p>