------------------------------------------------
C++ Working Group - Run II Committe
Fermilab at Work - Fermilab Home - Telephone/email - Search - Help
------------------------------------------------

Test output for OSF1 gcc


Test DEFECT/OLD_STL_HEADERS

Checking that the following compiles fail:
g++ -c ftest1.cc
Checking that the following compiles succeed:
g++ -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_HEADERS Failed.

Test DEFECT/OLD_STDC_HEADERS

Checking that the following compiles fail:
g++ -c ftest1.cc
Checking that the following compiles succeed:
g++ -c atest1.cc
g++ -o atest atest1.o -lm
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:
g++ -c ftest1.cc
ftest1.cc:2: iostream: No such file or directory
Checking that the following compiles succeed:
g++ -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_IOSTREAM_HEADERS Succeeded

Test DEFECT/OLD_STRINGSTREAM

Checking that the following compiles fail:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -c ftest1.cc
ftest1.cc:2: sstream: No such file or directory
Test DEFECT/OLD_STRINGSTREAM Succeeded

Test DEFECT/NO_IOSFWD_HEADER

Checking that the following compiles fail:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -c ftest1.cc
ftest1.cc:2: iosfwd: No such file or directory
Test DEFECT/NO_IOSFWD_HEADER Succeeded

Test DEFECT/GCC27_STRINGSTREAM_STR

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/GCC27_STRINGSTREAM_STR Succeeded

Test DEFECT/NO_STDLIB_NAMESPACES

Checking that the following compiles fail:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -c ftest1.cc
ftest1.cc:2: iostream: No such file or directory
Test DEFECT/NO_STDLIB_NAMESPACES Succeeded

Test DEFECT/OLD_STL_COUNT

Checking that the following compiles fail:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -c ftest1.cc
ftest1.cc: In function `int main()':
ftest1.cc:22: type unification failed for function template `template  void count(InputIterator, InputIterator, T &, Size &)'
Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test DEFECT/OLD_STL_COUNT Succeeded

Test DEFECT/SGICC_STRING_HEADER

Checking that the following compiles fail:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c ftest1.cc
Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:1: mstring.h: No such file or directory
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/bool Succeeded

Test Tests/cast1

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast1 Succeeded

Test Tests/cast2

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast2 Succeeded

Test Tests/cast3

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test Tests/cast3 Succeeded

Test Tests/except1

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -fhandle-exceptions atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except1 Succeeded

Test Tests/except2

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -fhandle-exceptions atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/except2 Succeeded

Test Tests/hello

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/hello Succeeded

Test Tests/mutable

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test Tests/mutable Succeeded

Test Tests/ns1

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:7: warning: namespaces are mostly broken in this version of g++
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns1 Succeeded

Test Tests/ns2

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:7: warning: namespaces are mostly broken in this version of g++
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns2 Succeeded

Test Tests/ns3

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:18: warning: namespaces are mostly broken in this version of g++
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/ns3 Succeeded

Test Tests/rtti2

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -frtti atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/rtti2 Succeeded

Test Tests/template1

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/template1 Succeeded

Test Tests/template2

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
/bin/ld:
Warning: clog defined as GLOBAL DATA but is defined in a shared lib as a GLOBAL FUNC
Checking that executable succeeds:
Checking the executable's output:
Test Tests/template2 Succeeded

Test BZ/BOOL

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/BOOL Succeeded

Test BZ/CONST_CAST

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:9: parse error before `;'
atest1.cc:14: parse error before `return'
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/DEFAULT_TEMPLATE_PARAMETERS Failed.

Test BZ/DYNAMIC_CAST

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -frtti atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/DYNAMIC_CAST Succeeded

Test BZ/ENUM_COMPUTATIONS

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:13: enumeral mismatch in conditional expression: `foo::{anonymous enum}' vs `bar::{anonymous enum}'
atest1.cc:13: enumerator value for `a' not integer constant
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/ENUM_COMPUTATIONS Failed.

Test BZ/EXCEPTIONS

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -fhandle-exceptions -frtti atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/EXCEPTIONS Succeeded

Test BZ/EXPLICIT

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc: In function `int main()':
atest1.cc:20: parse error before `>'
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:10: parse error before `>'
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/FULL_SPECIALIZATION_SYNTAX Failed.

Test BZ/FUNCTION_NONTYPE_PARAMETERS

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:6: warning: namespaces are mostly broken in this version of g++
g++ -o atest atest1.o -lm
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:6: warning: namespaces are mostly broken in this version of g++
atest1.cc: In function `int main()':
atest1.cc:13: `class complex' used where a floating point value was expected
atest1.cc:13: aggregate value used where a float was expected
atest1.cc:14: `class complex' used where a floating point value was expected
atest1.cc:14: aggregate value used where a float was expected
atest1.cc:15: `class complex' used where a floating point value was expected
atest1.cc:15: aggregate value used where a float was expected
atest1.cc:16: `class complex' used where a floating point value was expected
atest1.cc:16: aggregate value used where a float was expected
atest1.cc:16: `class complex' used where a floating point value was expected
atest1.cc:16: aggregate value used where a float was expected
atest1.cc:17: `class complex' used where a floating point value was expected
atest1.cc:17: aggregate value used where a float was expected
atest1.cc:18: `class complex' used where a floating point value was expected
atest1.cc:18: aggregate value used where a float was expected
atest1.cc:23: `class complex' used where a floating point value was expected
atest1.cc:23: aggregate value used where a float was expected
atest1.cc:31: `class complex' used where a floating point value was expected
atest1.cc:31: aggregate value used where a float was expected
atest1.cc:32: `class complex' used where a floating point value was expected
atest1.cc:32: aggregate value used where a float was expected
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc: In function `int main()':
atest1.cc:20: warning: implicit declaration of function `int acosh(...)'
atest1.cc:21: warning: implicit declaration of function `int asinh(...)'
atest1.cc:22: warning: implicit declaration of function `int atanh(...)'
atest1.cc:23: warning: implicit declaration of function `int expm1(...)'
atest1.cc:26: warning: implicit declaration of function `int finite(...)'
atest1.cc:31: warning: implicit declaration of function `int logb(...)'
atest1.cc:32: warning: implicit declaration of function `int log1p(...)'
atest1.cc:33: warning: implicit declaration of function `int rint(...)'
atest1.cc:34: warning: implicit declaration of function `int trunc(...)'
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_IEEE_MATH Succeeded

Test BZ/HAVE_NUMERIC_LIMITS

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:3: limits: No such file or directory
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_NUMERIC_LIMITS Failed.

Test BZ/HAVE_RUSAGE

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_RUSAGE Succeeded

Test BZ/HAVE_STD

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:1: iostream: No such file or directory
atest1.cc:3: iomanip: No such file or directory
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_STD Failed.

Test BZ/HAVE_SYSTEM_V_MATH

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc: In function `int main()':
atest1.cc:20: warning: implicit declaration of function `int _class(...)'
atest1.cc:21: warning: implicit declaration of function `int ilogb(...)'
atest1.cc:22: warning: implicit declaration of function `int itrunc(...)'
atest1.cc:23: warning: implicit declaration of function `int nearest(...)'
atest1.cc:24: warning: implicit declaration of function `int rsqrt(...)'
atest1.cc:25: warning: implicit declaration of function `int uitrunc(...)'
g++ -o atest atest1.o -lm
/bin/ld:
Unresolved:
_class
rsqrt
collect2: ld returned 1 exit status
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:3: valarray: No such file or directory
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/HAVE_VALARRAY Failed.

Test BZ/MEMBER_CONSTANTS

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_CONSTANTS Succeeded

Test BZ/MEMBER_TEMPLATES

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:8: parse error before `template'
atest1.cc:13: parse error at end of class template
atest1.cc:8: parse error before `template'
atest1.cc:13: parse error at end of class template
atest1.cc:19: warning: ANSI C++ forbids declaration `x' with no type or storage class
atest1.cc:19: `y' was not declared in this scope
atest1.cc:21: parse error before `return'
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_TEMPLATES Failed.

Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:13: parse error before `template'
atest1.cc:9: parse error before `template'
atest1.cc:9: parse error before `template'
atest1.cc: In function `int main()':
atest1.cc:23: bad argument 1 for function `class Foo & Foo::operator =(const class Foo &)' (type was class Foo)
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MEMBER_TEMPLATES_OUTSIDE_CLASS Failed.

Test BZ/MUTABLE

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/MUTABLE Succeeded

Test BZ/NAMESPACES

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:3: warning: namespaces are mostly broken in this version of g++
atest1.cc: In function `int main()':
atest1.cc:38: `keyboard' undeclared (first use this function)
atest1.cc:38: (Each undeclared identifier is reported only once
atest1.cc:38: for each function it appears in.)
atest1.cc:38: parse error before `;'
atest1.cc:39: `x' undeclared (first use this function)
atest1.cc:41: parse error before `;'
atest1.cc:42: `y' undeclared (first use this function)
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/NAMESPACES Failed.

Test BZ/NCEG_RESTRICT

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:6: parse error before `,'
atest1.cc: In function `void add(...)':
atest1.cc:9: `length' undeclared (first use this function)
atest1.cc:9: (Each undeclared identifier is reported only once
atest1.cc:9: for each function it appears in.)
atest1.cc:10: `a' undeclared (first use this function)
atest1.cc:10: `b' undeclared (first use this function)
atest1.cc:10: `c' undeclared (first use this function)
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc: In function `int main()':
atest1.cc:12: warning: name lookup of `i' changed for new ANSI `for' scoping
atest1.cc:7: warning:   using obsolete binding at `i'
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/OLD_FOR_SCOPING Succeeded

Test BZ/PARTIAL_ORDERING

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:13: parse error before `template'
atest1.cc:17: parse error at end of class template
atest1.cc:28: warning: ANSI C++ forbids declaration `x' with no type or storage class
atest1.cc:28: warning: initializer list being treated as compound expression
atest1.cc:28: `struct I<1>' used where a `int' was expected
atest1.cc:29: parse error before `if'
atest1.cc:28: previous non-function declaration `int x'
atest1.cc:32: conflicts with function declaration `int x(float (*)(), double (*)())'
atest1.cc:33: parse error before `if'
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/PARTIAL_ORDERING Failed.

Test BZ/PARTIAL_SPECIALIZATION

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:11: Internal compiler error.
atest1.cc:11: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/PARTIAL_SPECIALIZATION Failed.

Test BZ/REINTERPRET_CAST

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -frtti atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/REINTERPRET_CAST Succeeded

Test BZ/RTTI

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c -frtti atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/RTTI Succeeded

Test BZ/STATIC_CAST

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/STATIC_CAST Succeeded

Test BZ/TEMPLATES

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:10: parse error before `template'
atest1.cc: In function `int main()':
atest1.cc:21: `foo' undeclared (first use this function)
atest1.cc:21: (Each undeclared identifier is reported only once
atest1.cc:21: for each function it appears in.)
atest1.cc:21: parse error before `,'
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:7: parse error before `template'
atest1.cc: In function `int main()':
atest1.cc:12: parse error before `template'
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:25: incomplete type `promote_trait<...>' does not have member `T'
atest1.cc:25: type/value mismatch in template parameter list for `template  class Vector'
atest1.cc: In function `int main()':
atest1.cc:34: no matching function for call to `Vector::Vector (int)'
atest1.cc:22: candidates are: Vector::Vector(const Vector &)
atest1.cc:21:                 Vector::Vector()
atest1.cc:34: in base initialization for class `Vector'
atest1.cc: In function `int operator +(const class Vector &, const class Vector &)':
atest1.cc:27: `class Vector' used where a `int' was expected
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TEMPLATE_QUALIFIED_RETURN_TYPE Failed.

Test BZ/TEMPLATE_SCOPED_ARGUMENT_MATCHING

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:18: parse error before `d2'
atest1.cc:19: `operator +(...)' must have an argument of class or enumerated type
atest1.cc:19: `operator +(...)' must take either one or two arguments
atest1.cc: In function `int main()':
atest1.cc:25: confused by earlier errors, bailing out
g++ -o atest *.o -lm
gcc: *.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:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TYPENAME Succeeded

Test BZ/TYPE_PROMOTION

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
g++ -o atest atest1.o -lm
Checking that executable succeeds:
Checking the executable's output:
Test BZ/TYPE_PROMOTION Succeeded

Test BZ/USE_NUMTRAIT

Checking that the following compiles succeed:
g++ -DDEFECT_OLD_IOSTREAM_HEADERS -DDEFECT_OLD_STRINGSTREAM -DDEFECT_NO_IOSFWD_HEADER -DDEFECT_GCC27_STRINGSTREAM_STR -DDEFECT_NO_STDLIB_NAMESPACES -DDEFECT_OLD_STL_COUNT -c atest1.cc
atest1.cc:14: parse error before `>'
atest1.cc:25: incomplete type `SumType<...>' does not have member `T_sumtype'
atest1.cc:25: type/value mismatch in template parameter list for `template  class Vector'
atest1.cc: In function `int sum(class Vector)':
atest1.cc:28: `class Vector' used where a `int' was expected
g++ -o atest *.o -lm
gcc: *.o: No such file or directory
Checking that executable succeeds:
Checking the executable's output:
Test BZ/USE_NUMTRAIT Failed.