title: Windres syntax error
body: <p>I am working in MinGW environment (downloaded with their installer on 12/12/2011).  I am attempting to compile a resource (.rc) file using Windres.  The specific command I use is</p>
  
  <pre><code>Windres -O coff About1.rc -o About1.res
  </code></pre>
  
  <p>Windres generates at least 100 lines of warning messages reading:  "warning: null characters ignored".  Following this Windres emits:  "Abouty1.rc:1:syntax error".</p>
  
  <p>As a matter of fact, there are no null characters in the About1.rc file.  In addtition, the first line of the file is an include statement:  #include "dlgresource.h".  I played around and eliminated this statement and it turns out that it doesn't matter what I put there, I get the same flurry of messages and the syntax error notification.</p>
  
  <p>To make things more confusing, this same .rc file compiles without any problem using MSFT's rc.exe.  The resulting .res file links smoothly with the program .obj file and runs perfectly.</p>
  
  <p>I have no idea what is going on.  Any ideas?</p>
  
  <p>Thanks,
  Mark Allyn</p>