This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2008 15:21:56 -0000
- Subject: [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Worked with: 138952
Known to fail with: 138966 (and up to at least 139189)
Running /x/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ...
...
FAIL: 27_io/basic_ostream/inserters_other/char/error_code.cc (test for excess
errors)
WARNING: 27_io/basic_ostream/inserters_other/char/error_code.cc compilation
failed to produce executable
.log:
/x/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
In function 'void test()':
/x/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:49:
error: 'sprintf' was not declared in this scope
Apparently just a case of missing
#include <cstdio>
in the test-case. A guess is that the libstdc++ configury change making
GLIBCXX_CHECK_STDIO_MACROS unconditional caused it to fail, where it worked
before.
--
Summary: [4.4 Regression]:
27_io/basic_ostream/inserters_other/char/error_code.cc
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149