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]

bool and gcc


Hey!

Does gcc (egcs exactly) support boolean (bool) type?

What does the following mean ?

.cc:120: warning: name lookup of `index' changed for new ANSI `for' scoping
.cc:119: warning:   using obsolete binding at `index'

What's that "new ANSI 'for' scoping" ?

And the next one :
_x.cc:122: request for member `figure' in `nodebufstat', which is of
non-aggregate type `node *'

Line 122 is :  *(nodebufstat).figure=-1 ;

thats the structure "node" :

typedef struct {
                char  figure;
                short base1,base2;
               } node;

... and that's declaration of nodebufstat pointer :

node  *nodebufstat=&stattab[0];

stattab is an array of node type :

node   stattab[16];

What is that ?

/greetz
Nikki (aka Inquisitor Nikodemus)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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