title: How to prevent C6284 when using CString::Format?
body: <p>The following code is generating warning <a href="http://msdn.microsoft.com/en-us/library/ta308ywy.aspx" rel="noreferrer">C6284</a> when compiled with <code>/analyze</code> on MSVC 2008 : <strong>object passed as parameter '%s' when string is required in call to function.</strong></p>
  
  <pre><code> CString strTmp, str;
   str = L"aaa.txt"
   strTmp.Format (L"File: %s", str);
  </code></pre>
  
  <p>I'm looking for a nice solution for this that would not require <code>static_cast</code></p>