www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

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

↑ ↓ ← 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
↑ ↓ → 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