title: __attribute__((format(printf, 1, 2))) for MSVC?
body: <p>With GCC, I can specify <code>__attribute__((format(printf, 1, 2)))</code> , telling the compiler that this function takes  vararg parameters that are printf format specifiers. </p>
  
  <p>This is very helpful in the cases where I wrap e.g. the vsprintf function family. I can have
  <code>extern void log_error(const char *format, ...) __attribute__((format(printf, 1, 2)));</code></p>
  
  <p>And whenever I call this function, gcc will check that the types and number of arguments conform to the given format specifiers as it would for printf, and issue a warning if not.</p>
  
  <p>Does the Microsoft C/C++ compiler have anything similar ?</p>