-DDATE start giving error with gcc-3.2.3

Max Bowsher maxb@ukf.net
Fri Nov 22 17:37:00 GMT 2002


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/



More information about the Cygwin mailing list