I am working in the latest version of MinGW (downloaded 12/12/2011). I am attempting to compile a .rc file using Windres.exe. I use the command: windres -O coff about1.rc -o about1.res. Windres generates perhaps 100 or more warning messages saying "null characters ignored", and then it terminates with the message: "About1.rc:1:syntax error".
There are no null characters in the source file. To add to the puzzle, exactly the same About1.rc file compiles smoothly if I use MSFT rc.exe. The resulting .res file links with the program .obj file and runs smoothly.
I have tried using the switch --use-temp-file in the command line, and this does not solve the problem.
Anybody have a suggestion?