title: #warning and macro evaluation
body: <p>I have the following code :</p>
  
  <pre><code>#define LIMIT_DATE \"01-03-2010\"
  
  #ifdef LIMIT_DATE
      #if _MSC_VER
          #pragma message ("Warning : this release will expire on " LIMIT_DATE)
      #elif   __GNUC__
          #warning ("Warning : this release will expire on " LIMIT_DATE)
      #endif
  #endif
  </code></pre>
  
  <p>The problem is that LIMIT_DATE is not evaluated when printing the warning.</p>
  
  <p>I searched on Google, but didn't found yet the solution. </p>
  
  <p>Thanks for help.</p>