Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: -DDATE start giving error with gcc-3.2.3 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Fri, 22 Nov 2002 16:06:57 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Vijay Sampath" To: "Nitin Gupta" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gAN07RJ23027 I'll be very surprised if your program compiles under any C compiler on Earth. -Vijay > -----Original Message----- > From: Nitin Gupta [mailto:gupta AT equator DOT com] > Sent: Friday, November 22, 2002 3: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 > #include > 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/