www.delorie.com/archives/browse.cgi | search |
Date: | Sun, 14 May 95 19:12:18 PDT |
Reply-To: | pdasilva AT tpone DOT telepac DOT pt (P. da Silva) |
From: | pdasilva AT tpone DOT telepac DOT pt (P. da Silva) |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | BUG or what?! |
Hello DJGPP users, May be I'm tired but I can't understand what is happening with the following program: FILE TP.H #define CT 0x2000 #define AA (0xfd+CT) #define BB (0xfe+CT) #define CC (0xff+CT) FILE TP.C #include "tp.h" static int x[]={BB}; Compiling this with GCC ver. 2.6.3 gives the error message tp.c:2: garbage at end of number But if you change to static int x[]={AA}; or static int x[]={CC}; it compiles OK. TIA for any help Paulo
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |