[Prev][Next][Index]

Another bug?



Hello again,

This may or may not be a bug in the parser, but I think that it is.

When I type sagecc test.c, I get the following error message:

Warning : possible redeclaration of a symbol, line 6
Error on line 7 of test.c:symbol 'c'  (04.1) redeclaration of symbol
Error in sagecc while executing:
------->  pC++2dep  TEMP_Sgcc.c

I think that the declaration of 'c' should only give another warning.
The inclusion of the pointer seems to be the problem.
 
Michael
-------------------------------------------------------
mgolden@eecs.umich.edu
All the passions make us commit faults; love makes us commit the most
ridiculous ones.
		-- La Rochefoucauld

------------ test.c ---------------
extern int b[12];
extern int *c[12];


int a;
int b[12];
int *c[12];

main()
{
        printf ("Hello World!\n");
}