delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/17/13:43:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3973459A.624B671B@delcomsys.com>
Date: Mon, 17 Jul 2000 13:42:50 -0400
From: Patrick Doyle <wpd AT delcomsys DOT com>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: en,zh,zh-CN,zh-TW
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: "Invalid token in expression" error

I have a philosophical question about the current net release.  I
installed the new net release shortly before I left for vacation a month
ago, came back in, and remembered all of the problems I was having
before I left.  It appears that the latest net release has changed some
combination of programs such that I can no longer compile source code
that has been saved in MS-DOS (i.e. CRLF) format.  OK.  Yes, I know that
theoretically, I could remount / in MSDOS mode and that this problem
will likely go away, but I am wondering:

1) If I do that, what will break instead?

2) Why the change in philosophy?  Previous versions of the tools from
Cygnus allowed me to freely intermix DOS and UNIX text source files. 

3) Does anybody know why this policy has changed?

The specific problem I reference in my "Subject" line appears to be that
the C preprocessor is choking on a line of the form:

#define THIS \
THAT

The preprocessor apparently doesn't like to see a backslash followed by
CR (it's much happier with a backslash followed by a newline).

4) Shouldn't the preprocessor open its input file in TEXT mode instead
of BINARY mode?

Thanks for any answers.  I will summarize and post answers to the list
if I receive any (and they are not already cross-posted to the list).

--wpd

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019