VC++ Internal Compiler Error










10















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




fatal error C1001: INTERNAL COMPILER
ERROR (compiler file
'f:vs70builds3077vcCompilerCxxFEslP1Cpdbmgr.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











share|improve this question



















  • 2





    Why is this downvoted/vote to close? Seems a fair question to me, even though there's no good answer to it

    – jalf
    Jul 7 '09 at 11:03






  • 1





    Yeap, a very real question especially if you have been in this situation several times.

    – sharptooth
    Jul 7 '09 at 11:07






  • 1





    @Neil: Not so lazy. It's typical to violate language grammar and get the compiler spawn error messages. It's not that typical to see a message saying that the compiler in fact refuses to compile perfectly correct code.

    – sharptooth
    Jul 7 '09 at 11:09











  • Can you come up with a small segment of code that reproduces this particular C1001? Also, does this appear with newer Visual Studio versions?

    – LThode
    Nov 5 '14 at 21:15















10















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




fatal error C1001: INTERNAL COMPILER
ERROR (compiler file
'f:vs70builds3077vcCompilerCxxFEslP1Cpdbmgr.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











share|improve this question



















  • 2





    Why is this downvoted/vote to close? Seems a fair question to me, even though there's no good answer to it

    – jalf
    Jul 7 '09 at 11:03






  • 1





    Yeap, a very real question especially if you have been in this situation several times.

    – sharptooth
    Jul 7 '09 at 11:07






  • 1





    @Neil: Not so lazy. It's typical to violate language grammar and get the compiler spawn error messages. It's not that typical to see a message saying that the compiler in fact refuses to compile perfectly correct code.

    – sharptooth
    Jul 7 '09 at 11:09











  • Can you come up with a small segment of code that reproduces this particular C1001? Also, does this appear with newer Visual Studio versions?

    – LThode
    Nov 5 '14 at 21:15













10












10








10


1






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




fatal error C1001: INTERNAL COMPILER
ERROR (compiler file
'f:vs70builds3077vcCompilerCxxFEslP1Cpdbmgr.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











share|improve this question
















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




fatal error C1001: INTERNAL COMPILER
ERROR (compiler file
'f:vs70builds3077vcCompilerCxxFEslP1Cpdbmgr.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








visual-c++ c1001






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 21 '10 at 13:50









brickner

5,44713049




5,44713049










asked Jul 7 '09 at 10:57









somarajsomaraj

3541610




3541610







  • 2





    Why is this downvoted/vote to close? Seems a fair question to me, even though there's no good answer to it

    – jalf
    Jul 7 '09 at 11:03






  • 1





    Yeap, a very real question especially if you have been in this situation several times.

    – sharptooth
    Jul 7 '09 at 11:07






  • 1





    @Neil: Not so lazy. It's typical to violate language grammar and get the compiler spawn error messages. It's not that typical to see a message saying that the compiler in fact refuses to compile perfectly correct code.

    – sharptooth
    Jul 7 '09 at 11:09











  • Can you come up with a small segment of code that reproduces this particular C1001? Also, does this appear with newer Visual Studio versions?

    – LThode
    Nov 5 '14 at 21:15












  • 2





    Why is this downvoted/vote to close? Seems a fair question to me, even though there's no good answer to it

    – jalf
    Jul 7 '09 at 11:03






  • 1





    Yeap, a very real question especially if you have been in this situation several times.

    – sharptooth
    Jul 7 '09 at 11:07






  • 1





    @Neil: Not so lazy. It's typical to violate language grammar and get the compiler spawn error messages. It's not that typical to see a message saying that the compiler in fact refuses to compile perfectly correct code.

    – sharptooth
    Jul 7 '09 at 11:09











  • Can you come up with a small segment of code that reproduces this particular C1001? Also, does this appear with newer Visual Studio versions?

    – LThode
    Nov 5 '14 at 21:15







2




2





Why is this downvoted/vote to close? Seems a fair question to me, even though there's no good answer to it

– jalf
Jul 7 '09 at 11:03





Why is this downvoted/vote to close? Seems a fair question to me, even though there's no good answer to it

– jalf
Jul 7 '09 at 11:03




1




1





Yeap, a very real question especially if you have been in this situation several times.

– sharptooth
Jul 7 '09 at 11:07





Yeap, a very real question especially if you have been in this situation several times.

– sharptooth
Jul 7 '09 at 11:07




1




1





@Neil: Not so lazy. It's typical to violate language grammar and get the compiler spawn error messages. It's not that typical to see a message saying that the compiler in fact refuses to compile perfectly correct code.

– sharptooth
Jul 7 '09 at 11:09





@Neil: Not so lazy. It's typical to violate language grammar and get the compiler spawn error messages. It's not that typical to see a message saying that the compiler in fact refuses to compile perfectly correct code.

– sharptooth
Jul 7 '09 at 11:09













Can you come up with a small segment of code that reproduces this particular C1001? Also, does this appear with newer Visual Studio versions?

– LThode
Nov 5 '14 at 21:15





Can you come up with a small segment of code that reproduces this particular C1001? Also, does this appear with newer Visual Studio versions?

– LThode
Nov 5 '14 at 21:15












3 Answers
3






active

oldest

votes


















1














That's a very unfortunate thing. Such indications appear once in a while for no apparent reason. Even MSDN recommends to go to the code and play with optimization pragmas there. You have to detect what construct causes this indication and rewrite it somehow. Or you can use a newer version of VC++.






share|improve this answer






























    3














    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






    share|improve this answer






























      3














      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.






      share|improve this answer






















        Your Answer






        StackExchange.ifUsing("editor", function ()
        StackExchange.using("externalEditor", function ()
        StackExchange.using("snippets", function ()
        StackExchange.snippets.init();
        );
        );
        , "code-snippets");

        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "1"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f1091662%2fvc-internal-compiler-error%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        That's a very unfortunate thing. Such indications appear once in a while for no apparent reason. Even MSDN recommends to go to the code and play with optimization pragmas there. You have to detect what construct causes this indication and rewrite it somehow. Or you can use a newer version of VC++.






        share|improve this answer



























          1














          That's a very unfortunate thing. Such indications appear once in a while for no apparent reason. Even MSDN recommends to go to the code and play with optimization pragmas there. You have to detect what construct causes this indication and rewrite it somehow. Or you can use a newer version of VC++.






          share|improve this answer

























            1












            1








            1







            That's a very unfortunate thing. Such indications appear once in a while for no apparent reason. Even MSDN recommends to go to the code and play with optimization pragmas there. You have to detect what construct causes this indication and rewrite it somehow. Or you can use a newer version of VC++.






            share|improve this answer













            That's a very unfortunate thing. Such indications appear once in a while for no apparent reason. Even MSDN recommends to go to the code and play with optimization pragmas there. You have to detect what construct causes this indication and rewrite it somehow. Or you can use a newer version of VC++.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 7 '09 at 11:00









            sharptoothsharptooth

            121k68413831




            121k68413831























                3














                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






                share|improve this answer



























                  3














                  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






                  share|improve this answer

























                    3












                    3








                    3







                    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






                    share|improve this answer













                    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







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jul 7 '09 at 11:05









                    jalfjalf

                    207k43294515




                    207k43294515





















                        3














                        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.






                        share|improve this answer



























                          3














                          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.






                          share|improve this answer

























                            3












                            3








                            3







                            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.






                            share|improve this answer













                            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.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 16 '15 at 11:31









                            Ravindra AcharyaRavindra Acharya

                            17213




                            17213



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f1091662%2fvc-internal-compiler-error%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Use pre created SQLite database for Android project in kotlin

                                Darth Vader #20

                                Ondo