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 Message-ID: <003801c29286$57a7e890$78d96f83@pomello> From: "Max Bowsher" To: "Nitin Gupta" Cc: References: <3DDEC718 DOT 2000802 AT equator DOT 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 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 >> #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. 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/