title: GCC #pragma message ignored
body: <p>I am trying to <a href="http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas" rel="noreferrer">display a compile-time message in GCC</a>, via</p>
  
  <pre><code>#pragma message "hello world"
  </code></pre>
  
  <p>But when I compile with <code>-Wall</code> it gives the warning</p>
  
  <pre><code>warning: ignoring #pragma message 
  </code></pre>
  
  <p>I'm using GCC 4.2.1 on Mac OS X 10.6.8 (Snow Leopard).</p>
  
  <p>Why isn't it displaying the message? How can I make it display the message?</p>