[Insight-developers] Borland vs Mesh
Brad King
brad.king@kitware.com
Thu, 5 Sep 2002 20:04:04 -0400 (EDT)
> The code at the bottom of this email will not compiler under the Borland
> compiler. It returns a
[snip]
> int main(int, char *[])
> {
> B<float, 3> b1; // okay
> C<float, 3, A<float, 3, 5> > c1; // okay
>
> C<float, 3> c2; // error: Illegal base class type
> // C<float, 3, A<float, 3> > c3; // internal compiler error
> }
I just tried it with the Kylix 3 Open Edition compiler:
Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland
It doesn't support it at all. Using your code, all four lines in main()
produce an error message. One would think that support would improve in a
more recent version.
-Brad