title: __typeof variables and printf
body: <p>If I'm defining a generic macro, using <code>__typeof__</code>/<code>typeof</code>, is there any way to also pick a <code>printf</code> conversion specifier, in a generic way ?</p>
  
  <p>what I mean is, for e.g: </p>
  
  <pre><code>#define max(a,b) \
   ({ typeof (a) _a = (a); \
      typeof (b) _b = (b); \
      DEBUG(( "%" __PRI_TYPE_PREFIX(a) &gt; "%" __PRI_TYPE_PREFIX(b) "?", _a, _b)) \  &lt;-- hypothetical
      _a &gt; _b ? _a : _b; })
  </code></pre>
  
  <p>is possible ?</p>