POV-Ray : Newsgroups : povray.programming : stupid bug ? [lame] Server Time
23 Dec 2024 11:23:39 EST (-0500)
  stupid bug ? [lame] (Message 1 to 9 of 9)  
From: Rafal 'Raf256' Maj
Subject: stupid bug ? [lame]
Date: 6 Oct 2002 16:06:46
Message: <Xns929FE0AB613BFraf256com@204.213.191.226>
Hmm I downloadede Pov 3.5 sources, I change project to PovEngine Release, I 
filled in my class prefix, version messages etc. And now it all compiles 
o.k. except for...:

fatal error C1001: INTERNAL COMPILER ERROR

(on VC 6) :


--------------------Configuration: povray - Win32 Release------------------
--
Compiling...
blob.cpp
fnintern.cpp
C:\dev\pov_bin\new\source\blob.cpp(2530) : fatal error C1001: INTERNAL 
COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
lighting.cpp
C:\dev\pov_bin\new\source\fnintern.cpp(374) : fatal error C1001: INTERNAL 
COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
octree.cpp
C:\dev\pov_bin\new\source\lighting.cpp(4086) : fatal error C1001: INTERNAL 
COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
pattern.cpp
C:\dev\pov_bin\new\source\octree.cpp(719) : fatal error C1001: INTERNAL 
COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
pvengine.c
C:\dev\pov_bin\new\source\pattern.cpp(838) : fatal error C1001: INTERNAL 
COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
Error executing cl.exe.

pvengine.exe - 5 error(s), 0 warning(s)



Any suggestions ? Sory for lame question ?

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: stupid bug ? [lame]
Date: 6 Oct 2002 16:24:49
Message: <Xns929FE3BCC807Araf256com@204.213.191.226>
"Rafal 'Raf256' Maj" <raf### [at] raf256com> wrote in
news:Xns### [at] 204213191226 

> Hmm I downloadede Pov 3.5 sources, I change project to PovEngine
> Release, I filled in my class prefix, version messages etc. And now it
> all compiles o.k. except for...:
[...]

this happens only when I choose Release version, Debug is o.k. 

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: stupid bug ? [lame]
Date: 6 Oct 2002 16:46:48
Message: <3da0a138$1@news.povray.org>
In article <Xns### [at] 204213191226>, "Rafal 'Raf256' Maj"
<raf### [at] raf256com> wrote:

> fatal error C1001: INTERNAL COMPILER ERROR

The compiler is broken.  Try to find the latest updates for VC 6 on the M$
site.  If you are lucky it will work after applying those updates.  If not,
reduce the opimisation settings until the error goes away.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Ben Birdsey
Subject: Re: stupid bug ? [lame]
Date: 6 Oct 2002 20:54:43
Message: <3DA0DAD4.F2EA3E82@mail.com>
Rafal -

I've gotten those Internal Compiler errors, too, even with the old 3.1g
sources.

They were related to certain types of compiler optimization, and all of
the errors were confined to the definitions of certain internal POV math
functions.  I'm not sure if this is true anymore, because I *did*
upgrade get the SP2 for Microsoft Visual C++ 6.0 and I can't easily go
back and track down your compiler problems. ;)

Anyway,  as far as I can remember, you might still get everything to
compile if you make sure the "Generate Intrinsic Functions" and "Full
Optimization" checkboxes are NOT checked.

Maybe it's worth a try... Downloading the 4.0 Meg VC6 Service Pack might
take longer than trying to compile again with new settings!

- Ben


Post a reply to this message

From: Nicolas Calimet
Subject: Re: stupid bug ? [lame]
Date: 7 Oct 2002 12:00:34
Message: <3DA1AFA1.3040800@free.fr>
> The compiler is broken.

	Hehehehe.
	Waaaaarp, where are you ?

	[Thorsten, please don't flame me, I'm just kidding you]


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: stupid bug ? [lame]
Date: 7 Oct 2002 12:18:26
Message: <3da1b3d2$1@news.povray.org>
In article <3DA### [at] freefr>, Nicolas Calimet <pov### [at] freefr>
wrote:

>> The compiler is broken.
>
>  Hehehehe.
>  Waaaaarp, where are you ?
>
>  [Thorsten, please don't flame me, I'm just kidding you]

You will have to wait.  Most likely he has gone crazy and will need a few
days to recover...  ;-)


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: stupid bug ? [lame]
Date: 7 Oct 2002 12:47:26
Message: <Xns92A0BEE50A29raf256com@204.213.191.226>
"Thorsten Froehlich" <tho### [at] trfde> wrote in
news:3da0a138$1@news.povray.org 

>> fatal error C1001: INTERNAL COMPILER ERROR
> The compiler is broken.  

I should have known it... micro$soft - what elese to expect ;)

> Try to find the latest updates for VC 6 on
> the M$ site.  

Will they work with not-to-legal-version of VC ;) ? well I shoul give them 
a try. Maybe somebody had them alread on hdd (AFAIR microsoft download 
center requires some user-ID or product-ID)

> If not, reduce the opimisation settings until the error goes
> away. 

i'm making patch mostly to improve speed ;) w


-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Warp
Subject: Re: stupid bug ? [lame]
Date: 7 Oct 2002 15:47:22
Message: <3da1e4c9@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
>> The compiler is broken.

> 	Hehehehe.
> 	Waaaaarp, where are you ?

  "Internal compiler error" means that the compiler is broken (ie. it
has a bug and doesn't work correctly). I don't see any problem with what
he said.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Nicolas Calimet
Subject: Re: stupid bug ? [lame]
Date: 8 Oct 2002 06:53:29
Message: <3DA2B925.5000506@free.fr>
>   "Internal compiler error" means that the compiler is broken (ie. it
> has a bug and doesn't work correctly). I don't see any problem with what
> he said.

	Sure. It was a small-basic joke  :-)

	Besides your "fighting" with Thorsten about compiler warnings,
I found the previous discussions really interesting because both points
of view are of great value (since you're obviously both experienced).
I'm this kind of guys who always setup the maximum warning levels to
hunt them. I hate warnings that I consider not elegant at all to live
with. Of course bugs are even less friendly  :-p


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.