delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3E3E9D34.8060004@fangorn.ca> |
Date: | Mon, 03 Feb 2003 11:47:48 -0500 |
From: | Mark Blackburn <marklist AT fangorn DOT ca> |
User-Agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021212 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | windres and RCDATA sections |
References: | <20021224083436 DOT A4049 AT fnord DOT io DOT com> |
In-Reply-To: | <20021224083436.A4049@fnord.io.com> |
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 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |