|
-
Sep 29th, 2007, 01:07 PM
#1
Thread Starter
Frenzied Member
[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.
-
Sep 29th, 2007, 01:28 PM
#2
Thread Starter
Frenzied Member
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.
-
Sep 29th, 2007, 01:55 PM
#3
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|