Non-constant initializers

Ross Alexander r.alexander@auckland.ac.nz
Wed Apr 22 03:17:00 GMT 1998


> 
> > extern int *x;
> > int *y = x;
> 
> You say this works with C++, and doesn't work with C.
> Isn't that what I just said was how it was supposed to be?
> 
> > I can try and hunt down the problem but a few hints would come in handy.
> 
> There is no problem to track down.  Fix your code.

Sorry, I follow.  Unfortunately the behaviour

	FILE *blah = stdin;

is rather wide spread.  Normally this wouldn't matter that much but
both gnome and netscape are affected :-(.

I'll send them bug reports on the matter.

Again, many thanks for your time.
 
> 	--Per Bothner
> Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner
> 


-- 
Ross Alexander                       r.alexander@auckland.ac.nz
Department of Statistics
University of Auckland
New Zealand



More information about the Gcc mailing list