This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
If you read Richard's reply, he says that will already work - in C++. In C,
const int ci = 5; int a1[ci];
will not compile, because ci is not an integral constant-expression.
If Syd is trying to make that work in C/ObjC, as opposed to C++, some serious surgery may be involved.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |