c++.command-line - Internal error: struct 1811
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
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 goodenoughto express my feelings when I found 'Digital Mars C++' on the Internet. Ihope'Digital Mars C++' will become as famous as 'Zortrch C++' was amongprogrammers.However, "Digital Mars C++" has still a long way to go. For now, here isanexample that causes the compiler to fail with a message: "Internal error:struct1811" // *** 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
It's fixed in the latest beta. Thanks, -Walter
Dec 07 2002









"Walter" <walter digitalmars.com> 