Hello
I have a form where I have a lot of code perheps about 1000 pages.
Now in an event I have 160 lines of this code that I show below. I am showing 2 lines to give an example here:
for(int i = 0; i < 6; i++ ){for( int j = 0; j < 50; j++ ){if( All[i][j][120] != "" ){button127->Width = 42; button127->Height = 23; button127->Text = All[i][j][120]->ToString();button127->BackColor = Color::Green;button127->FlatAppearance->MouseDownBackColor = System::Drawing::Color::Green; button127->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Green;}}}
for(int i = 0; i < 6; i++ ){for( int j = 0; j < 50; j++ ){if( All[i][j][121] != "" ){button128->Width = 42; button128->Height = 23; button128->Text = All[i][j][121]->ToString();button128->BackColor = Color::Green;button128->FlatAppearance->MouseDownBackColor = System::Drawing::Color::Green; button128->FlatAppearance->MouseOverBackColor = System::Drawing::Color::Green;}}}
Now on the 122:th line, I will receive a compileerror that I haven´t seen before that says:
fatal error C1061: compiler limit : blocks nested too deeply
Is it to much for the compiler. There is nothing wrong with the code as I have tested this. If I take line 122-160 away it do compiles.
Can I adjust any setting to make this work. ?
Thank you