delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/22/18:58:00

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
From: "Robert McNulty Junior" <bmj2001 AT bellsouth DOT net>
To: "Nitin Gupta" <gupta AT equator DOT com>, <cygwin AT cygwin DOT com>
Subject: RE: -DDATE start giving error with gcc-3.2.3
Date: Fri, 22 Nov 2002 17:58:18 -0600
Message-ID: <NNEIIEEOONEDCAMGNCKEIEEDCCAA.bmj2001@bellsouth.net>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3DDEBC3F.7000804@equator.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

What's gcc 3.2.3? Do you mean gcc 3.2.1? That's the latest gcc.

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
Of Nitin Gupta
Sent: Friday, November 22, 2002 5:23 PM
To: cygwin AT cygwin DOT com
Subject: -DDATE start giving error with gcc-3.2.3


Hi,

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.

Was this a gcc bug that got fixed in gcc-3.2.3? or is there anything else

Thanks,
Nitin



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





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

- Raw text -


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