Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VC++ Internal Compiler Error

Iam getting the following error , could some one help me how to fix it .

fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\CxxFE\sl\P1\C\pdbmgr.cpp', line 149) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information

like image 580
somaraj Avatar asked Jul 07 '09 10:07

somaraj


2 Answers

INTERNAL COMPILER ERROR(compiler file file, line number) The compiler cannot generate correct code for a construct, probably due to 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. The Microsoft Knowledge Base has more information about C1001; see http://support.microsoft.com/default.aspx?scid=kb;en-us;134650.

like image 154
Ravindra Acharya Avatar answered Oct 12 '22 23:10

Ravindra Acharya


Nope, you're screwed. You've done something that exposed an error in the compiler. Play with optimization settings, #pragmas and fiddling with your code until it works.

And perhaps submit a bug report on connect.microsoft.com

like image 27
jalf Avatar answered Oct 12 '22 23:10

jalf