Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39E5B306.8B4281FB@CdBSSoftware.net>
Date: Thu, 12 Oct 2000 14:48:06 +0200
From: MORB <MORB@CdBSSoftware.net>
Organization: Etranges Libellules
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sources.redhat.com
Subject: [BUG] Multi-line macros in gcc broken with CR/LF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I installed the latest cygwin release (1.1.4) yesterday.

I'm trying to compile a cygwin to amigaos cross gcc, but I have a
problem.

I don't know if it has been already reported/corrected, so I report it
anyway.

It seems that multi line macros don't works in gcc if the source is in
CR/LF format, rather than in LF format.

Here is an example:

#define a=b; \
	e=f;

int main()
{

}

It compiles properly if the source is in LF format, but if it's in CR/LF
format, it fails with the following errors:

bug.c:2: 'f' undeclared here (not in a function)
bug.c:2: warning: data definition has no type or storage class

--
Antoine 'MORB' Chavasse / CdBS Software

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

