fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco Nova

    fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

    Hello

    I'm using the latest version of Visual Studio 2003 version 7.1.3088, .net framework 1.1.4322 and I've some problem compiling a project, it give me the error

    c:\build\main\. ....\methodeInc .h(36) : fatal error C1001: INTERNAL COMPILER ERRO
    (compiler file 'msc1.cpp', line 2701)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more informatio

    I was able to reproduce the behaviour with this very little example, hope it helps you to fix the compiler

    class

    int i
    public
    B(int f) : i(f) {}
    }

    typedef B TB

    class TB; <-------- that's the line that cause the compiler erro

    Best Regards

    - mn
  • Hendrik Schober

    #2
    Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

    Marco Nova <novamarco@remo vethis.hotmail. com> wrote:[color=blue]
    > [...]
    > I was able to reproduce the behaviour with this very little example, hope it helps you to fix the compiler.
    >
    > class B
    > {
    > int i;
    > public:
    > B(int f) : i(f) {};
    > };
    >
    > typedef B TB;
    >
    > class TB; <-------- that's the line that cause the compiler error[/color]

    Interesting. I found that, for VC7.1, this
    is enough:

    class B;
    typedef B TB;
    class TB;

    I have Whidbey installed here, so I don't
    know whether that's already fixed.
    [color=blue]
    > Best Regards,
    >
    > - mn[/color]

    Schobi

    --
    SpamTrap@gmx.de is never read
    I'm Schobi at suespammers dot org

    "Sometimes compilers are so much more reasonable than people."
    Scott Meyers


    Comment

    • Hendrik Schober

      #3
      Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

      Hendrik Schober <SpamTrap@gmx.d e> wrote:[color=blue]
      > [...]
      >
      > I have Whidbey installed here [...][/color]

      Er, I don't have.

      Schobi


      --
      SpamTrap@gmx.de is never read
      I'm Schobi at suespammers dot org

      "Sometimes compilers are so much more reasonable than people."
      Scott Meyers


      Comment

      • Carl Daniel [VC++ MVP]

        #4
        Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

        Hendrik Schober wrote:[color=blue]
        > Marco Nova <novamarco@remo vethis.hotmail. com> wrote:[color=green]
        >> [...]
        >> I was able to reproduce the behaviour with this very little example,
        >> hope it helps you to fix the compiler.
        >>
        >> class B
        >> {
        >> int i;
        >> public:
        >> B(int f) : i(f) {};
        >> };
        >>
        >> typedef B TB;
        >>
        >> class TB; <-------- that's the line that cause the
        >> compiler error[/color]
        >
        > Interesting. I found that, for VC7.1, this
        > is enough:
        >
        > class B;
        > typedef B TB;
        > class TB;
        >[/color]

        The code is, of course, illegal. One ramification of that is that fixing
        the compiler to give a better error message is a low priority fix.

        I can report, however, that this particular ICE has in fact been fixed in
        Whidbey.

        -cd


        Comment

        • IceJug

          #5
          Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

          Can MS just release a Service Pace as they've done with VC6.0?

          "Carl Daniel [VC++ MVP]" <cpdaniel_remov e_this_and_nosp am@mvps.org.nos pam>
          дÈëÏûÏ¢ÐÂÎÅ:OC g1cpTKEHA.3924@ tk2msftngp13.ph x.gbl...[color=blue]
          >
          > The code is, of course, illegal. One ramification of that is that fixing
          > the compiler to give a better error message is a low priority fix.
          >
          > I can report, however, that this particular ICE has in fact been fixed in
          > Whidbey.[/color]


          Comment

          • Carl Daniel [VC++ MVP]

            #6
            Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

            IceJug wrote:[color=blue]
            > Can MS just release a Service Pace as they've done with VC6.0?[/color]

            (Note that there's no "just" about it. It takes several months to put
            together and test a service pack for Visual Studio).

            Service packs for Visual Studio are by definition nothing more than
            collections of QFEs (or "HotFixes") . (This is different from Windows and IE
            service packs which frequently add significant new functionality).

            By definition then, in order for a fix to be included in a Service Pack, it
            must first be included in a QFE. Fixes are released as QFEs only as the
            result of customers calling Product Support and requesting a fix for a
            particular bug.

            So, if you want a service pack fix for this bug, call Product Support.
            Again though, given that the ICE occurs when parsing illegal code, it's less
            likely that a QFE will actually be made (priority is, understandably, given
            to fixing bugs that result in code that doesn't execute correctly, or that
            result in compiler errors on valid source code).

            -cd


            Comment

            • Rudy Ray Moore

              #7
              Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

              > result of customers calling Product Support and requesting a fix for a[color=blue]
              > particular bug.[/color]

              That sounds pretty easy. What's the number?


              Comment

              • William DePalo [MVP VC++]

                #8
                Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

                "Rudy Ray Moore" <rudymoore@hotm ail.com> wrote in message
                news:erdVR4HLEH A.2396@TK2MSFTN GP12.phx.gbl...[color=blue][color=green]
                > > result of customers calling Product Support and requesting a fix for a
                > > particular bug.[/color]
                >
                > That sounds pretty easy. What's the number?[/color]

                Click Technical Support on the help menu. In the U.S. I think the number is

                (800) 936-5800

                Be sure to mention you are calling about a bug, not requesting paid support.

                Regards,
                Will


                Comment

                • Hendrik Schober

                  #9
                  Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

                  Rudy Ray Moore <rudymoore@hotm ail.com> wrote:[color=blue][color=green]
                  > > result of customers calling Product Support and requesting a fix for a
                  > > particular bug.[/color]
                  >
                  > That sounds pretty easy. What's the number?[/color]


                  This



                  I found about a dozen clicks from the
                  MS home page. I'm not sure, though,
                  that this is what Carl suggested.

                  Schobi

                  --
                  SpamTrap@gmx.de is never read
                  I'm Schobi at suespammers dot org

                  "Sometimes compilers are so much more reasonable than people."
                  Scott Meyers


                  Comment

                  • Carl Daniel [VC++ MVP]

                    #10
                    Re: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)

                    Rudy Ray Moore wrote:[color=blue][color=green]
                    >> result of customers calling Product Support and requesting a fix for
                    >> a particular bug.[/color]
                    >
                    > That sounds pretty easy. What's the number?[/color]

                    See http://support.microsoft.com

                    Note that support calls generally incur charges (they cost money), and that
                    those charges are normally waived if the call is exclusively related to a
                    bug in a Microsoft product.

                    -cd


                    Comment

                    Working...