Re: Constant initializers

2010-10-18 Thread Richard Henderson
On 10/18/2010 02:04 PM, Matt Fischer wrote: > I'm attempting to port some code to gcc, and in a couple of places > it's using a construct that it doesn't like. A simplified example is > the following (this is in global scope): > > static const int A = 1; > static const int B = A; > > This compil

Re: Constant initializers

2010-10-18 Thread Jonathan Wakely
On 18 October 2010 22:04, Matt Fischer wrote: > I'm attempting to port some code to gcc, and in a couple of places > it's using a construct that it doesn't like.  A simplified example is > the following (this is in global scope): > > static const int A = 1; > static const int B = A; > > This compil