www.digitalmars.com         C & C++   DMDScript  

c++.beta - Great but tired message - Loki almost compiled!

reply nyra <nyra_member pathlink.com> writes:
Andrei Alexandrescu introduce a high level C++ template library
in his book "Modern C++ design". That is Loki!

The library is so template!(in my opinion) Most old compiler
can't compile it! with some modification(??), those compiler
is supported:

Gcc v2.95.3 and later
Microsoft Visual C++ v7.0
Borland C++ Builder v6.0

ugly but Mostly Supported:
CodeWarrior 6.0
Microsoft Visual C++ v6.0 (see readme for port)

Today, I have ported it to digitalmars C++ finally, but
dmc++ still disappointed me.

Walter, I remark sincerely:
it is hard to check this error

C:\dm\bin\..\include\loki/Functor.h(987) : Error: template-argument 'ThreadingMo
del' has no value in template function specialization
C:\dm\bin\..\include\loki/Functor.h(872) : Error: template-template-argument 'Th
readingModel' must be the name of a class template

we need more information and more human text about a error.
(because there are nothing about syntax error, but compiler behavior)

second, if compiler crashs, give me some information. 
In my port of Loki, there still is a bug. when I compile it, compiler
crashed with no information. I don't know what's going on. I had to 
leave it there!

In despite of this unhappily process, Loki is compiled and tested.
It proves dmc++ is one of most great compile in the C++ world.

Marry Christmas for everyone and specially Walter!

This letter is my gift for you!


nyra from chendu,china.
Dec 24 2003
parent "Walter" <walter digitalmars.com> writes:
That is great news! Error messages are always a work in progress, and I'll
see what I can do to improve the ones you listed. Thanks, -Walter

"nyra" <nyra_member pathlink.com> wrote in message
news:bsblrp$1kat$1 digitaldaemon.com...
 Andrei Alexandrescu introduce a high level C++ template library
 in his book "Modern C++ design". That is Loki!

 The library is so template!(in my opinion) Most old compiler
 can't compile it! with some modification(??), those compiler
 is supported:

 Gcc v2.95.3 and later
 Microsoft Visual C++ v7.0
 Borland C++ Builder v6.0

 ugly but Mostly Supported:
 CodeWarrior 6.0
 Microsoft Visual C++ v6.0 (see readme for port)

 Today, I have ported it to digitalmars C++ finally, but
 dmc++ still disappointed me.

 Walter, I remark sincerely:
 it is hard to check this error

 C:\dm\bin\..\include\loki/Functor.h(987) : Error: template-argument
'ThreadingMo
 del' has no value in template function specialization
 C:\dm\bin\..\include\loki/Functor.h(872) : Error:
template-template-argument 'Th
 readingModel' must be the name of a class template

 we need more information and more human text about a error.
 (because there are nothing about syntax error, but compiler behavior)

 second, if compiler crashs, give me some information.
 In my port of Loki, there still is a bug. when I compile it, compiler
 crashed with no information. I don't know what's going on. I had to
 leave it there!

 In despite of this unhappily process, Loki is compiled and tested.
 It proves dmc++ is one of most great compile in the C++ world.

 Marry Christmas for everyone and specially Walter!

 This letter is my gift for you!


 nyra from chendu,china.
Dec 26 2003