using GCC (windows 32, C only, default build options ).
what is the largest size of my local stack.. ?
for example:
void myfunc (void)
{
char is_this_too_big_for_a_local_var[64*1024*1024];
somefunc(is_this_too_big_for_a_local_var);
}
possibly from some traumatic experience during my early days of coding, I've never attempted to ever use more than at most 16k local storage.. ( yes, habits picked up during the days of 286's, 16bit computers)..
Anyway, is locating really large variables locally OK ? or is a few K still the upper limit ?