[Prev][Next][Index]

Re: Problems with simple C program



>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