[Prev][Next][Index]
Re: Problems with simple C program
- From: "Beata Winnicka" <bfatyga@slab.cica.indiana.edu>
- Date: Wed, 13 Jul 94 10:34:31 -0500
- To: Andrew Mauer <mauer@mcs.anl.gov>
- Subject: Re: Problems with simple C program
- Cc: Diego Novillo <diego@cs.ualberta.ca>, sage-bugs@cica.indiana.edu
>Perhaps someone else can tell you why the putchar macro is not parsed
>correctly.
Apparently because Sage has trouble with arrays of structs. The following does not parse, for example:
extern struct _iobuf {
int _cnt;
} _iob[];
main(){
(&_iob[1])->_cnt=0;
}
I'll look into it and see if it is fixable. --Beata