Checking that the following compiles fail: KCC -c ftest1.cc "ftest1.cc", line 4: error: vector is not a template typedef vectorv; ^ "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". KCC: Compilation failed. Checking that the following compiles succeed: KCC -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test DEFECT/OLD_STL_HEADERS Positive
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 -lm Checking that executable succeeds: Checking the executable's output: Test DEFECT/OLD_STDC_HEADERS Negative.
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 -lm Checking that executable succeeds: Checking the executable's output: Test DEFECT/OLD_IOSTREAM_HEADERS Negative.
Checking that the following compiles fail: KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc Test DEFECT/OLD_STRINGSTREAM Negative.
Checking that the following compiles fail: KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc Test DEFECT/NO_IOSFWD_HEADER Negative.
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 19: error: identifier "ostrstream" is undefined
ostrstream type_stream(buffer,128);
^
"atest1.cc", line 19: error: expected a ")"
ostrstream type_stream(buffer,128);
^
"atest1.cc", line 25: error: identifier "cout" is undefined
cout << "Broken!\n";
^
"atest1.cc", line 27: error: identifier "cout" is undefined
cout << "Works.\n";
^
4 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/GCC27_STRINGSTREAM_STR Negative.
Checking that the following compiles fail: KCC -DDEFECT_OLD_STL_HEADERS -c ftest1.cc Test DEFECT/NO_STDLIB_NAMESPACES Negative.
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".
KCC: Compilation failed.
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: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_COUNT Negative.
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: Compilation failed. KCC -o atest *.o -lm C++ prelinker: error: File "*.o" does not exist or is not readable Checking that executable succeeds: Checking the executable's output: Test DEFECT/SGICC_STRING_HEADER Negative.
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/bool Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/cast1 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/cast2 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/cast3 Positive
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 -lm
C++ prelinker: warning: library "libKCC-eh{.so,.a}" does not exist in the specified library directories
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except1 Positive
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: Compilation failed.
KCC -o atest *.o -lKCC-eh -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except2 Negative.
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/hello Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/mutable Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/ns1 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/ns2 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/ns3 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/overload Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/rtti2 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/template1 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test Tests/template2 Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/BOOL Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/CONST_CAST Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/DEFAULT_TEMPLATE_PARAMETERS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/DYNAMIC_CAST Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/ENUM_COMPUTATIONS Positive
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c -x atest1.cc
KCC -o atest atest1.o -lKCC-eh -lm
C++ prelinker: warning: library "libKCC-eh{.so,.a}" does not exist in the specified library directories
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXCEPTIONS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/EXPLICIT Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/FULL_SPECIALIZATION_SYNTAX Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/FUNCTION_NONTYPE_PARAMETERS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/HAVE_COMPLEX Positive
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);
^
"/usr/products/OSF1/kai/v3_3b/KCC_BASE/include/complex", line 678: error:
identifier "temp" is undefined
temp = log(cx)/__msipl_log(10);
^
detected during instantiation of "std::complex std::log10(const
std::complex &) [with T=double]" at line 23 of
"atest1.cc"
"/usr/products/OSF1/kai/v3_3b/KCC_BASE/include/complex", line 678: error: more
than one instance of overloaded function "std::log" matches the
argument list:
function "log(long double)"
function "log(float)"
function "log(double) C"
argument types are: (int)
temp = log(cx)/__msipl_log(10);
^
detected during instantiation of "std::complex std::log10(const
std::complex &) [with T=double]" at line 23 of
"atest1.cc"
"/usr/products/OSF1/kai/v3_3b/KCC_BASE/include/complex", line 679: error: more
than one instance of overloaded function "std::log" matches the
argument list:
function "log(long double)"
function "log(float)"
function "log(double) C"
argument types are: (int)
return complex (log(cx)/__msipl_log(10));
^
detected during instantiation of "std::complex std::log10(const
std::complex &) [with T=double]" at line 23 of
"atest1.cc"
9 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_COMPLEX_MATH Negative.
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 17: warning: linkage specification is not allowed
int main()
^
"atest1.cc", line 26: error: identifier "finite" is undefined
finite(x);
^
"atest1.cc", line 34: error: identifier "trunc" is undefined
trunc(x);
^
At end of source: error: expected a "}"
3 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_IEEE_MATH Negative.
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/HAVE_NUMERIC_LIMITS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/HAVE_RUSAGE Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/HAVE_STD Positive
Checking that the following compiles succeed:
KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc
"atest1.cc", line 17: warning: linkage specification is not allowed
int main()
^
"atest1.cc", line 20: error: identifier "_class" is undefined
_class(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);
^
At end of source: error: expected a "}"
6 errors detected in the compilation of "atest1.cc".
KCC: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_SYSTEM_V_MATH Negative.
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/HAVE_VALARRAY Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/MEMBER_CONSTANTS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/MEMBER_TEMPLATES Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/MUTABLE Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/NAMESPACES Positive
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: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test BZ/NCEG_RESTRICT Negative.
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: Compilation failed.
KCC -o atest *.o -lm
C++ prelinker: error: File "*.o" does not exist or is not readable
Checking that executable succeeds:
Checking the executable's output:
Test BZ/OLD_FOR_SCOPING Negative.
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/PARTIAL_ORDERING Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/PARTIAL_SPECIALIZATION Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/REINTERPRET_CAST Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/RTTI Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/STATIC_CAST Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/TEMPLATES Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc "atest1.cc", line 10: error: "template" is not allowed templateclass T_alloc> ^ "atest1.cc", line 16: error: T_alloc is not a 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 template T_alloc alloc_; ^ detected during instantiation of class "foo > [with X=double, = ]" at line 21 4 errors detected in the compilation of "atest1.cc". KCC: Compilation failed. KCC -o atest *.o -lm C++ prelinker: error: File "*.o" does not exist or is not readable Checking that executable succeeds: Checking the executable's output: Test BZ/TEMPLATES_AS_TEMPLATE_ARGUMENTS Negative.
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/TEMPLATE_KEYWORD_QUALIFIER Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/TEMPLATE_QUALIFIED_BASE_CLASS Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/TEMPLATE_QUALIFIED_RETURN_TYPE Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/TEMPLATE_SCOPED_ARGUMENT_MATCHING Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/TYPENAME Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm Checking that executable succeeds: Checking the executable's output: Test BZ/TYPE_PROMOTION Positive
Checking that the following compiles succeed: KCC -DDEFECT_OLD_STL_HEADERS -c atest1.cc KCC -o atest atest1.o -lm C++ prelinker: Recompiling atest1.cc Checking that executable succeeds: Checking the executable's output: Test BZ/USE_NUMTRAIT Positive