我有一个程序编译的时候如果是Release,那么就会出现上面的错误,具体是msc1.cpp的第2844行,这是怎么回事,如果是Debug就没有错误

解决方案 »

  1.   

    INTERNAL COMPILER ERROR
    (compiler file file, line number)The compiler cannot generate correct code for a construct, probably due the combination of an expression and an optimization option. Try removing one or more optimization options and recompiling the function containing the line indicated in the error message.You can probably fix the problem by removing one or more optimization options. To determine which option is at fault, remove options one at a time and recompile until the error message goes away. The options most commonly responsible are /Og, /Oi, and /Oa. Once you determine which option is responsible, you can disable it using the optimize pragma around the function where the error occurs and continue to use the option for the rest of the module.Try rewriting the line where the error is reported, or several lines of code surrounding that line. If that doesn't work, contact Microsoft Product Support Services.
      

  2.   

    不懂,在哪里remove options ?
      

  3.   

    project->setting->c/c++->optimizations