R
RezaRob
[ Sorry for double posting to c++.moderated; I made a mistake. ]
I don't know if this is ANSI-C, but in gcc it works perfectly well:
static const char *opcodes[] = {
[3] = "bad_op"
};
However, in c++ it fails! What's the deal?
Thanks.
Reza.
I don't know if this is ANSI-C, but in gcc it works perfectly well:
static const char *opcodes[] = {
[3] = "bad_op"
};
However, in c++ it fails! What's the deal?
Thanks.
Reza.