error C1001: An internal error has occurred in the compiler

Respondida error C1001: An internal error has occurred in the compiler

  • Saturday, April 07, 2012 5:50 AM
     
      Has Code

    I am not a C/C++ developer, but I'm trying to port some C++ into a WinRT component. The project builds fine in Debug but fails with C1001 in Release.

    This is a code snippet of where it fails (the error line is the second for loop, the one with wq variable)

    void init_material() { int wp, bp, wn, bn, wl, bl, wd, bd, wr, br, wq, bq, index, score, phase, wb, bb; int w_maj, b_maj, w_maj_score, b_maj_score, w_min, b_min, w_tot_score, b_tot_score, wmul, bmul; for (index = 0; index < TotalMat; index++) Material[index] = 0xFFFFFFFF; for (wq = 0; wq < 3; wq++) for (bq = 0; bq < 3; bq++) for (wr = 0; wr < 3; wr++)

    ...



    Valentin Iliescu

All Replies