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
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