www.digitalmars.com         C & C++   DMDScript  

c++.command-line - Internal error: struct 1811

reply Rafajna <Rafajna_member pathlink.com> writes:
I am trying to use 'Digital Mars C++' because 'Zortrch C++' was the best
compiler I have ever  worked with. Unfortunately my English is not good enough
to express my feelings when I found 'Digital Mars C++' on the Internet. I hope
'Digital Mars C++' will become as famous as 'Zortrch C++' was among programmers.

However, “Digital Mars C++” has still a long way to go. For now, here is an
example that causes the compiler to fail with a message: “Internal error: struct
1811”

// *** Start Source***
class cA
{
public:
template <class T> int fA(T &value) const
{ return fC( &value); }

int fB( int &value ) const
{ return fA( value ); }

virtual int fC( void *p ) const =0;
};
// ***End Source***

Ferents.
Dec 07 2002
next sibling parent "Walter" <walter digitalmars.com> writes:
Thanks! I'll have a look at it. -Walter

"Rafajna" <Rafajna_member pathlink.com> wrote in message
news:ast4qd$1qfe$1 digitaldaemon.com...
 I am trying to use 'Digital Mars C++' because 'Zortrch C++' was the best
 compiler I have ever  worked with. Unfortunately my English is not good
enough
 to express my feelings when I found 'Digital Mars C++' on the Internet. I
hope
 'Digital Mars C++' will become as famous as 'Zortrch C++' was among
programmers.
 However, "Digital Mars C++" has still a long way to go. For now, here is
an
 example that causes the compiler to fail with a message: "Internal error:
struct
 1811"

 // *** Start Source***
 class cA
 {
 public:
 template <class T> int fA(T &value) const
 { return fC( &value); }

 int fB( int &value ) const
 { return fA( value ); }

 virtual int fC( void *p ) const =0;
 };
 // ***End Source***

 Ferents.
Dec 07 2002
prev sibling parent "Walter" <walter digitalmars.com> writes:
It's fixed in the latest beta. Thanks, -Walter
Dec 07 2002