Test output for IRIX64 KAI


Test DEFECT/OLD_STL_HEADERS

Checking that the following compiles fail:
KCC -c ftest1.cc
"ftest1.cc", line 4: error: vector is not a class template
  typedef vector v;
          ^

"ftest1.cc", line 7: error: identifier "stack" is undefined
     stack s;
     ^

"ftest1.cc", line 7: error: type name is not allowed
     stack s;
           ^

"ftest1.cc", line 7: error: identifier "s" is undefined
     stack s;
              ^

4 errors detected in the compilation of "ftest1.cc".
Checking that the following compiles succeed:
KCC -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_HEADERS Succeeded

Test DEFECT/OLD_STDC_HEADERS

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STDC_HEADERS Failed.

Test DEFECT/OLD_IOSTREAM_HEADERS

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_IOSTREAM_HEADERS Failed.

Test DEFECT/OLD_STRINGSTREAM

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Test DEFECT/OLD_STRINGSTREAM Failed.

Test DEFECT/NO_IOSFWD_HEADER

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Test DEFECT/NO_IOSFWD_HEADER Failed.

Test DEFECT/GCC27_STRINGSTREAM_STR

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 20: error: identifier "ostrstream" is undefined
      ostrstream type_stream(buffer,128);
      ^

"atest1.cc", line 20: error: expected a ")"
      ostrstream type_stream(buffer,128);
                                   ^

"atest1.cc", line 26: error: identifier "cout" is undefined
   	cout << "Broken!\n";
   	^

"atest1.cc", line 28: error: identifier "cout" is undefined
   	cout << "Works.\n";
   	^

4 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/GCC27_STRINGSTREAM_STR Failed.

Test DEFECT/NO_STDLIB_NAMESPACES

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Test DEFECT/NO_STDLIB_NAMESPACES Failed.

Test DEFECT/OLD_STL_COUNT

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
"ftest1.cc", line 14: error: identifier "vector" is undefined
      vector v(10);
      ^

"ftest1.cc", line 14: error: type name is not allowed
      vector v(10);
             ^

"ftest1.cc", line 14: error: identifier "v" is undefined
      vector v(10);
                  ^

"ftest1.cc", line 19: error: expression must be a pointer to a complete object
          type
  	v[i] = i;
  	^

"ftest1.cc", line 22: error: identifier "count" is undefined
      res = count( v.begin(), v.end(), j );
            ^

"ftest1.cc", line 22: error: expression must have class type
      res = count( v.begin(), v.end(), j );
                   ^

"ftest1.cc", line 22: error: expression must have class type
      res = count( v.begin(), v.end(), j );
                              ^

"ftest1.cc", line 16: warning: variable "res" was set but never used
      int res;
          ^

7 errors detected in the compilation of "ftest1.cc".
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 14: error: identifier "vector" is undefined
      vector v(10);
      ^

"atest1.cc", line 14: error: type name is not allowed
      vector v(10);
             ^

"atest1.cc", line 14: error: identifier "v" is undefined
      vector v(10);
                  ^

"atest1.cc", line 19: error: expression must be a pointer to a complete object
          type
  	v[i] = i;
  	^

"atest1.cc", line 22: error: identifier "count" is undefined
      count( v.begin(), v.end(), j, res );
      ^

"atest1.cc", line 22: error: expression must have class type
      count( v.begin(), v.end(), j, res );
             ^

"atest1.cc", line 22: error: expression must have class type
      count( v.begin(), v.end(), j, res );
                        ^

"atest1.cc", line 22: warning: variable "res" is used before its value is set
      count( v.begin(), v.end(), j, res );
                                    ^

7 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_COUNT Failed.

Test DEFECT/SGICC_STRING_HEADER

Checking that the following compiles fail:
KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 1: catastrophic error: could not open source file "mstring.h"
  #include 
                      ^

1 catastrophic error detected in the compilation of "atest1.cc".
Compilation terminated.
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/SGICC_STRING_HEADER Failed.

Test Tests/bool

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/bool Succeeded

Test Tests/cast1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast1 Succeeded

Test Tests/cast2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast2 Succeeded

Test Tests/cast3

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast3 Succeeded

Test Tests/except1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
"atest1.cc", line 16: warning: statement is unreachable
      return;
      ^

KCC -o atest atest1.o -lKCC-eh
ld: WARNING 84: /usr/products/kai/v3_2d/KCC_BASE/lib/libKCC.a is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except1 Succeeded

Test Tests/except2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
"atest1.cc", line 31: warning: statement is unreachable
      return;
      ^

"atest1.cc", line 48: error: identifier "set_unexpected" is undefined
      set_unexpected(&my_unexpected);
      ^

1 error detected in the compilation of "atest1.cc".
KCC -o atest *.o -lKCC-eh
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except2 Failed.

Test Tests/hello

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/hello Succeeded

Test Tests/mutable

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/mutable Succeeded

Test Tests/ns1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns1 Succeeded

Test Tests/ns2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns2 Succeeded

Test Tests/ns3

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns3 Succeeded

Test Tests/rtti2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/rtti2 Succeeded

Test Tests/template1

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/template1 Succeeded

Test Tests/template2

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test Tests/template2 Succeeded

Test BZ/BOOL

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/BOOL Succeeded

Test BZ/CONST_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/CONST_CAST Succeeded

Test BZ/DEFAULT_TEMPLATE_PARAMETERS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/DEFAULT_TEMPLATE_PARAMETERS Succeeded

Test BZ/DYNAMIC_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/DYNAMIC_CAST Succeeded

Test BZ/ENUM_COMPUTATIONS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/ENUM_COMPUTATIONS Succeeded

Test BZ/EXCEPTIONS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
KCC -o atest atest1.o -lKCC-eh
ld: WARNING 84: /usr/products/kai/v3_2d/KCC_BASE/lib/libKCC.a is not used for resolving any symbol.
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXCEPTIONS Succeeded

Test BZ/EXPLICIT

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXPLICIT Succeeded

Test BZ/EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 11: error: template parameter "X" is not used in declaring
          the parameter types of function template "to"
  template
                 ^

"atest1.cc", line 20: error: type name is not allowed
      Vector y = to(x);
                            ^

"atest1.cc", line 20: error: cannot determine which instance of function
          template "to" is intended
      Vector y = to(x);
                         ^

3 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION Failed.

Test BZ/FULL_SPECIALIZATION_SYNTAX

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/FULL_SPECIALIZATION_SYNTAX Succeeded

Test BZ/FUNCTION_NONTYPE_PARAMETERS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
C++ prelinker: showFoo(const Foo &) no longer needed in atest1.o
C++ prelinker: void showFoo(const Foo &) [with T1=double, N2=(int)17] assigned to file atest1.o
C++ prelinker: executing:  /usr/products/kai/v3_2d/KCC_BASE/bin/KCC -c -DDEFECT_OLD_STL_HEADERS atest1.cc
Checking that executable succeeds:
Checking the executable's output:
Test BZ/FUNCTION_NONTYPE_PARAMETERS Succeeded

Test BZ/HAVE_COMPLEX

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_COMPLEX Succeeded

Test BZ/HAVE_COMPLEX_MATH

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 13: error: no instance of overloaded function "acos" matches
          the argument list
            argument types are: (std::complex)
      acos(x);
      ^

"atest1.cc", line 14: error: no instance of overloaded function "asin" matches
          the argument list
            argument types are: (std::complex)
      asin(x);
      ^

"atest1.cc", line 15: error: no instance of overloaded function "atan" matches
          the argument list
            argument types are: (std::complex)
      atan(x);
      ^

"atest1.cc", line 16: error: no instance of overloaded function "atan2"
          matches the argument list
            argument types are: (std::complex, std::complex)
      atan2(x,y);
      ^

"atest1.cc", line 17: error: no instance of overloaded function "atan2"
          matches the argument list
            argument types are: (std::complex, double)
      atan2(x, double(3.0));
      ^

"atest1.cc", line 18: error: no instance of overloaded function "atan2"
          matches the argument list
            argument types are: (double, std::complex)
      atan2(double(3.0), x);
      ^

"atest1.cc", line 23: error: no instance of overloaded function "log10"
          matches the argument list
            argument types are: (std::complex)
      log10(x);
      ^

7 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_COMPLEX_MATH Failed.

Test BZ/HAVE_IEEE_MATH

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 26: error: identifier "finite" is undefined
      finite(x);
      ^

"atest1.cc", line 34: error: identifier "trunc" is undefined
      trunc(x);
      ^

2 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_IEEE_MATH Failed.

Test BZ/HAVE_NUMERIC_LIMITS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_NUMERIC_LIMITS Succeeded

Test BZ/HAVE_RUSAGE

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_RUSAGE Succeeded

Test BZ/HAVE_STD

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_STD Succeeded

Test BZ/HAVE_SYSTEM_V_MATH

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 20: error: identifier "_class" is undefined
      _class(x);
      ^

"atest1.cc", line 21: error: identifier "ilogb" is undefined
      ilogb(x);
      ^

"atest1.cc", line 22: error: identifier "itrunc" is undefined
      itrunc(x);
      ^

"atest1.cc", line 23: error: identifier "nearest" is undefined
      nearest(x);
      ^

"atest1.cc", line 24: error: identifier "rsqrt" is undefined
      rsqrt(x);
      ^

"atest1.cc", line 25: error: identifier "uitrunc" is undefined
      uitrunc(x);
      ^

6 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_SYSTEM_V_MATH Failed.

Test BZ/HAVE_VALARRAY

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_VALARRAY Succeeded

Test BZ/MEMBER_CONSTANTS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_CONSTANTS Succeeded

Test BZ/MEMBER_TEMPLATES

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_TEMPLATES Succeeded

Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
C++ prelinker: Foo::operator =(const Foo &) no longer needed in atest1.o
C++ prelinker: Foo Foo::operator =(const Foo &) [with T1=double, N2=(int)4, O1=(int)7] assigned to file atest1.o
C++ prelinker: executing:  /usr/products/kai/v3_2d/KCC_BASE/bin/KCC -c -DDEFECT_OLD_STL_HEADERS atest1.cc
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS Succeeded

Test BZ/MUTABLE

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MUTABLE Succeeded

Test BZ/NAMESPACES

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/NAMESPACES Succeeded

Test BZ/NCEG_RESTRICT

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 6: error: expected a ")"
  void add(int length, double * restrict a, const double * restrict b,
                                         ^

"atest1.cc", line 10: error: identifier "a" is undefined
          a[i] = b[i] + c[i];
          ^

"atest1.cc", line 10: error: identifier "b" is undefined
          a[i] = b[i] + c[i];
                 ^

"atest1.cc", line 10: error: identifier "c" is undefined
          a[i] = b[i] + c[i];
                        ^

"atest1.cc", line 23: error: too many arguments in function call
      add(10,a,b,c);
               ^

5 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/NCEG_RESTRICT Failed.

Test BZ/OLD_FOR_SCOPING

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 12: error: identifier "i" is undefined
      z = i;
          ^

1 error detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/OLD_FOR_SCOPING Failed.

Test BZ/PARTIAL_ORDERING

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/PARTIAL_ORDERING Succeeded

Test BZ/PARTIAL_SPECIALIZATION

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/PARTIAL_SPECIALIZATION Succeeded

Test BZ/REINTERPRET_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/REINTERPRET_CAST Succeeded

Test BZ/RTTI

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/RTTI Succeeded

Test BZ/STATIC_CAST

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/STATIC_CAST Succeeded

Test BZ/TEMPLATES

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
C++ prelinker: foo(const Vector &) no longer needed in atest1.o
C++ prelinker: foo(const Vector &) no longer needed in atest1.o
C++ prelinker: void foo(const Vector &) [with T1=int] assigned to file atest1.o
C++ prelinker: void foo(const Vector &) [with T1=float] assigned to file atest1.o
C++ prelinker: executing:  /usr/products/kai/v3_2d/KCC_BASE/bin/KCC -c -DDEFECT_OLD_STL_HEADERS atest1.cc
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATES Succeeded

Test BZ/TEMPLATES_AS_TEMPLATE_ARGUMENTS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 10: error: "template" is not allowed
  template class T_alloc>
                    ^

"atest1.cc", line 16: error: T_alloc is not a class template
     T_alloc alloc_; 
     ^

"atest1.cc", line 21: error: argument list for class template "allocator" is
          missing
      foo x;
                  ^

"atest1.cc", line 16: error: T_alloc is not a class template
     T_alloc alloc_; 
     ^
          detected during instantiation of class "foo>"
                    at line 21

4 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATES_AS_TEMPLATE_ARGUMENTS Failed.

Test BZ/TEMPLATE_KEYWORD_QUALIFIER

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 7: error: template parameter "T" is not used in declaring
          the parameter types of function template "Foo::convert"
      template static T convert() { return T(); }
                     ^

"atest1.cc", line 12: error: expected an identifier
      double z = Foo::template convert();
                      ^

"atest1.cc", line 12: error: expected a ";"
      double z = Foo::template convert();
                      ^

"atest1.cc", line 12: warning: variable "z" was declared but never referenced
      double z = Foo::template convert();
             ^

3 errors detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_KEYWORD_QUALIFIER Failed.

Test BZ/TEMPLATE_QUALIFIED_BASE_CLASS

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_QUALIFIED_BASE_CLASS Succeeded

Test BZ/TEMPLATE_QUALIFIED_RETURN_TYPE

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
C++ prelinker: operator +(const Vector &, const Vector &) no longer needed in atest1.o
C++ prelinker: Vector::T> operator +(const Vector &, const Vector &) [with T1=int, T2=float] assigned to file atest1.o
C++ prelinker: executing:  /usr/products/kai/v3_2d/KCC_BASE/bin/KCC -c -DDEFECT_OLD_STL_HEADERS atest1.cc
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_QUALIFIED_RETURN_TYPE Succeeded

Test BZ/TEMPLATE_SCOPED_ARGUMENT_MATCHING

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 25: error: no operator "+" matches these operands
            operand types are: B> + float
      z + 0.5f;     //        match +(B>, A::W)
        ^

1 error detected in the compilation of "atest1.cc".
KCC -o atest *.o
ld: FATAL 9: I/O error (*.o): No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_SCOPED_ARGUMENT_MATCHING Failed.

Test BZ/TYPENAME

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TYPENAME Succeeded

Test BZ/TYPE_PROMOTION

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TYPE_PROMOTION Succeeded

Test BZ/USE_NUMTRAIT

Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
KCC -o atest atest1.o
C++ prelinker: sum(Vector) no longer needed in atest1.o
C++ prelinker: Vector::T_sumtype> sum(Vector) [with T1=float] assigned to file atest1.o
C++ prelinker: executing:  /usr/products/kai/v3_2d/KCC_BASE/bin/KCC -c -DDEFECT_OLD_STL_HEADERS atest1.cc
Checking that executable succeeds:
Checking the executable's output:
Test BZ/USE_NUMTRAIT Succeeded