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
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
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 compiles fine with g++, but gcc says "error: initializer element
i