SEGMENT TOO LARGE

Hi,
first of all, thanks a lot to Dan Henry and Drew Davis for their answers about generic pointers.

And now my problem is: compiling this dummy code I get the following error:

void tst_mem_large() large
{
   { char data buf [128] = ""; }
   { char data buf [128] = ""; }
}

...error C249: 'DATA': SEGMENT TOO LARGE


But why is there NO ERRORS in this sample?

void tst_mem_small() small
{
   { char data buf [128] = ""; }
   { char data buf [128] = ""; }
}

... 0 Error(s), 0 Warning(s).


Thank you.

Parents Reply Children
No data
More questions in this forum