title: Is it possible to stringify a variadic macro?
body: <pre><code>gcc (GCC) 4.7.2
  c89
  </code></pre>
  
  <p>Is it possible to stringify a variadic macro?</p>
  
  <p>I have the following macro and I want to output the resulting string from the <code>fmt</code> and arguments.</p>
  
  <pre><code>#define ERROR_MESSAGE(priority, fmt, ...)        \
      do {                                         \
          MODULE_LOG(priority, fmt, ##__VA_ARGS__);\
  } while(0)
  </code></pre>
  
  <p>So, I just want to get the complete string of the <code>fmt</code> and the <code>##__VA_ARGS__</code> so I can assign it to a <code>char *</code> to perform some additional operations on it.</p>