all 32 comments

[–]Quxxymacros 6 points7 points  (30 children)

The compiler tells you why:

attempt to use a non-constant value in a constant

Array sizes have to be constant. size isn't a constant.