This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
multi-string RCDATA declarations in windres
- From: Mark Blackburn <marklist at fangorn dot ca>
- To: binutils at sources dot redhat dot com
- Date: Tue, 04 Feb 2003 10:19:26 -0500
- Subject: multi-string RCDATA declarations in windres
windres seems to choke on multiline strings.
With the following exerpt from a .rc file
83 IDR_DEVICES RCDATA
84 BEGIN
85 "mswinpr2,\0" /* can't set resolution in device dialog box */
86 "djet500,300x300,150x150,100x100,75x75\0"
87 "\0"
88 END
I get:
windres: srcwin/gvwin1.rc:86: parse error
windres was 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.