This is the mail archive of the
mailing list for the Cygwin project.
windres and RCDATA sections
- From: Mark Blackburn <marklist at fangorn dot ca>
- To: cygwin at cygwin dot com
- Date: Mon, 03 Feb 2003 11:47:48 -0500
- Subject: windres and RCDATA sections
- References: <20021224083436.A4049@fnord.io.com>
windres seems to choke on multiline strings.
With the following exerpt from a .rc file
83 IDR_DEVICES RCDATA
85 "mswinpr2,\0" /* can't set resolution in device dialog box */
windres: srcwin/gvwin1.rc:86: parse error
windres has invoked like this:
$ windres --include-dir= --include-dir ./srcwin --include-dir ./src
--include-dir ./obj -D_Windows -D__WIN32__ --include-dir="en" -o
./obj/gsvw32en.res -i ./srcwin/gvwin1.rc
I also tried with the \0's removed and it still chokes.
I'm guessing that Microsoft's rc compiler allows the above syntax. I've
never seen it before. It's from the gsview-4.3 source, windows version.
I was trying to make a cygwin compatible Makefile for it. It currently
compiles with the MSVC toolset.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html