Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <003801c29286$57a7e890$78d96f83@pomello>
From: "Max Bowsher" <maxb@ukf.net>
To: "Nitin Gupta" <gupta@equator.com>
Cc: <cygwin@cygwin.com>
References: <NNEIIEEOONEDCAMGNCKEIEEDCCAA.bmj2001@bellsouth.net> <3DDEC718.2000802@equator.com>
Subject: Re: -DDATE start giving error with gcc-3.2.3
Date: Sat, 23 Nov 2002 00:22:01 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Nitin Gupta <gupta@equator.com> wrote:

>> If I compiled following code with -DDATE="Wed Nov 22", it compiled
>> fine using gcc-2.95, but when I updated my cygwin recently, it gives
>> parse errors using gcc-3.2.3 (which, I think it should)
>> 
>> #include <w32api/windows.h>
>> #include <stdio.h>
>> typedef double DATE;
>> main(){
>> 
>> printf ("Hello World!\n");
>> }
>> 
>> Looks like wtypes.h also has DATE defined. But, it should have given
>> me error earlier also, as wtypes had this definition earlier also.

For me, it does.

Max.


--
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/

