Hello,
I want to use the #error directive to limit the size of a statically allocated array during compilation (it must not exceed a certain limit, and I want to fail compilation, not startup, if it is too large), but I can only work with constant expressions, of course. Is there a way to do this...?
Thanks.
What he means is that he wants to constrain the size (number of elements) of the array by specifically limiting the amount of RAM that it is allowed to occupy.
Yes, I know that is what the OP means, what I was trying to establish is what the curious jumble of words posted by you know who was all about?