This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

probelm with gcc



  I downloaded gcc from
http://sourceware.cygnus.com/cygwin. But it complains
the following small piece of code:

#define PI \
        3.14

main()
{
  int i;

  i = 2* PI;
}


The error message:
mytest.c:2: parse error before 3.14
mytest.c:8: stray '\' in program
mytest.c:8: parse error before ;


  Anyone knows what is wrong? Thank you so much! All
the best!

  Sincerely
  Rui

  

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]