This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: TNT 0.82 examples don't compile!


Prabhu Ramachandran wrote:
> 
> Hi!
>         I just obtained the TNT (Template Numerical Toolkit) version 0.8.2
> I didn't try the 0.9 version because it needed namespaces. When I compiled
> one of the example programs with gcc-2.7.2.3 it worked fine but when I
> used the egcs-1.0.3a release. I got the following errors. I tried to
> compile it with the -fguiding-decls but it failed then as well. I would
> like to know if this is a bug and what can I do about it. TNT is available
> at http://math.nist.gov/tnt
> 

Two bugs are in TNT:  The 'typename' keyword is missing and the wrong
(old) syntax for declaring friend template functions is used.
These things can be fixed easily. In fact, I have done this some weeks
ago but deleted in the meantime, because TNT didn't meet my needs :(.

The first bug is fixed in 0.9 but not the second. Unfortunately, 0.9
requires an almost complete standard library that egcs doesn't provide
and that prevents you from compiling it. The namespaces are no problem.

Regards

--
Thomas Kunert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]