Michael Winslow <liandril@xxxxxxxxx> writes: > Is there some way short of resorting to preprocessor macros to tell > the compiler that an identifier is a compile-time constant, and is > therefore suitable for use in sizing an array? You can use an enum value. But there's little point in that; a preprocessor macro will do just fine and is more idiomatic. -- Falk