Error del compilador C2148
El tamaño total de la matriz no debe superar 0x7fffffff bytes
Una matriz supera el límite. Reduzca el tamaño de la matriz.
Ejemplo
El ejemplo siguiente genera C2148:
// C2148.cpp
#include <stdio.h>
#include <stdlib.h>
int main( ) {
char MyArray[0x7ffffffff]; // C2148
char * MyArray2 = (char *)malloc(0x7fffffff);
if (MyArray2)
printf_s("It worked!");
else
printf_s("It didn't work.");
}