www.digitalmars.com         C & C++   DMDScript  

c++ - "Internal error: type 361" and "errorlevel -1073741819" - bug.cpp

reply darabos.daniel gmail.com writes:
Hi!

If I compile the attached file with dmc -c bug.cpp I get "--- errorlevel
-1073741819", which seems strange enough. If I use the -Ar switch, I get
"Internal error: type 361".
If I replace the line

dom_getFilterUnits().getValue().getAnimatedVal().getValue();

with

dom_getFilterUnits().getValue().getAnimatedVal();

I get the strange errorlevel with -Ar too.

Sorry about the large example code -- I've already spent a lot of time cutting
it down to this. Right now if I change the line

float &x=_x,&y=_y,&width=_width,&height=_height;

to

float &x=_x,&y=_y,&width=_width;

(or remove most anything else) the errors disappear.

Daniel


begin 0644 bug.cpp
M"G1E;7!L871E(#QT>7!E;F%M92!8/ IC;&%S<R!!='1R:6)U=&4 >PH)<'5B
M;&EC. H)"5 F(&=E=%9A;'5E*"D["GT[" IT96UP;&%T92`\='EP96YA;64 
M6#X*8VQA<W, 06YI;6%T960 >PH)<'5B;&EC. H)"4%T=')I8G5T93Q8/B8 


M;VU?9V5T1FEL=&5R56YI=',H*3L-" T*"7!R;W1E8W1E9#H-" D)9FQO870 

M:60 9VQ0<F54<F%V97)S92 I.PT*"0EV:7)T=6%L('9O:60 9VQ0;W-T5')A

M<F%V97)S92 I"GL*"69L;V%T("9X/5]X.PH)9&]M7V=E=$9I;'1E<E5N:71S
M*"DN9V5T5F%L=64H*2YG971!;FEM871E9%9A;" I+F=E=%9A;'5E*"D["GT*
M"G9O:60 4U9'1FEL=&5R16QE;65N=#HZ9VQ0;W-T5')A=F5R<V4H*0I[" EF
M;&]A="`F>#U?>"PF>3U?>2PF=VED=& ]7W=I9'1H+"9H96EG:'0]7VAE:6=H
&=#L*?0H*
`
end
Jun 23 2006
parent darabos.daniel gmail.com writes:
Hi!

I forgot to mention that I got another internal error while trying to narrow
down the source of the other problem I've reported.

struct T{void g();};

void f(){
void T::g(){}
}

This source is of course invalid, so an error report is fine, but it also
generates "Internal error: func 3126".

Also I'd like to ask how come the Digital Mars Compiler does not support
#warning.

Thanks,

Daniel
Jun 23 2006