Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Internal Compiler Error

Internal Compiler Error

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiographicshelpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    subramanyeswari
    wrote on last edited by
    #1

    Hi, I got the following while building a project in VS.Net 2003 fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) the line that caused the error is as below

    vector<Test> childObject = spChildObject;

    where spChildObject is defined as

    vector<Test1> spChildObject(

    Is there any way to correct this code without installing a hotfix? Thank you

    T R 3 Replies Last reply
    0
    • S subramanyeswari

      Hi, I got the following while building a project in VS.Net 2003 fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) the line that caused the error is as below

      vector<Test> childObject = spChildObject;

      where spChildObject is defined as

      vector<Test1> spChildObject(

      Is there any way to correct this code without installing a hotfix? Thank you

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      wait, you're doing this inside main.c ? but this is C++ ! so you need to name the file main.cpp at least !!!

      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      S 1 Reply Last reply
      0
      • S subramanyeswari

        Hi, I got the following while building a project in VS.Net 2003 fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) the line that caused the error is as below

        vector<Test> childObject = spChildObject;

        where spChildObject is defined as

        vector<Test1> spChildObject(

        Is there any way to correct this code without installing a hotfix? Thank you

        R Offline
        R Offline
        Rane
        wrote on last edited by
        #3

        Have you seen this link[^] Regards, Rane

        1 Reply Last reply
        0
        • T toxcct

          wait, you're doing this inside main.c ? but this is C++ ! so you need to name the file main.cpp at least !!!

          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          S Offline
          S Offline
          subramanyeswari
          wrote on last edited by
          #4

          there is no main.c in my project. The line that is giving error is in a cpp file

          T 1 Reply Last reply
          0
          • S subramanyeswari

            there is no main.c in my project. The line that is giving error is in a cpp file

            T Offline
            T Offline
            toxcct
            wrote on last edited by
            #5

            subramanyeswari wrote:

            there is no main.c in my project

            WTF is that : "fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148)" if it's not a file you own, then look anyway at its line 148 to see what could make it crash from your code... also, a little code sample could help maybe.

            [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

            1 Reply Last reply
            0
            • S subramanyeswari

              Hi, I got the following while building a project in VS.Net 2003 fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148) the line that caused the error is as below

              vector<Test> childObject = spChildObject;

              where spChildObject is defined as

              vector<Test1> spChildObject(

              Is there any way to correct this code without installing a hotfix? Thank you

              R Offline
              R Offline
              Rane
              wrote on last edited by
              #6

              subramanyeswari wrote:

              Is there any way to correct this code without installing a hotfix?

              I think you may have to install the hotfix provided by MS to resolve this issue.BTW,Why are you hesitating to install the hotfix? :) Regards, Rane

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups