delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/10/12:22:12

From: inquisit AT friko6 DOT onet DOT pl (Inquisitor Nikodemus)
Subject: bool and gcc
10 Aug 1998 12:22:12 -0700 :
Message-ID: <3.0.1.32.19980810163711.0069a178.cygnus.gnu-win32@friko6.onet.pl>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019