Results 1 to 3 of 3

Thread: [RESOLVED] INTERNAL COMPILER ERROR ugh?!

  1. #1

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Resolved [RESOLVED] INTERNAL COMPILER ERROR ugh?!

    have you ever seen before, a weird compiler error like this?

    Fatal error C1001: INTERNAL COMPILER ERROR
    (compiler file 'e:\work\utc2\src\P2\reader.c', line 1987)

    it points on a module (bas) file, but im not sure which line causes the error.

  2. #2

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: INTERNAL COMPILER ERROR ugh?!

    *.obj files deleted, pc restarted, but nothing solved. and it runs fine in ide but cant compile the code. ive made a lots of modifications from the last succeed compile, so im not sure which one causes it, and im affraid i cant trap this error.

    do you have some ideas?

    edit: think ive isolated the errorneous sub but i cant find out the problem. it runs fine in ide but cant compile it...
    Last edited by Jim Davis; Sep 29th, 2007 at 01:52 PM.

  3. #3

    Thread Starter
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: INTERNAL COMPILER ERROR ugh?!

    Wow.. the problem is here:

    CamRotationNew.x = CamRotationNew.x + Sgn(Rnd - 0.5) * (Rnd / 2 + 0.5) * 20 * (-Sgn(CamRotationNew))
    CamRotationNew.Z = CamRotationNew.Z + Sgn(Rnd - 0.5) * (Rnd / 2 + 0.5) * 20 * (-Sgn(CamRotationNew))


    -sgn is illegal???

    ok its not illegal.. but ide can accept the user defined type variants without posting the variants id, but compiler doesnt.

    well.. im a bit buggy programer, the call in sgn(camrotationnew) may looks better if i place the type variants ... so it looks like: sgn(camrotationnew.x)

    sorry for this post.

    please delete it. thx
    Last edited by Jim Davis; Sep 29th, 2007 at 02:03 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width