This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/3939: iostream and symbol from stdlib.h
- To: gcc-gnats at gcc dot gnu dot org, debian-gcc at lists dot debian dot org
- Subject: c++/3939: iostream and symbol from stdlib.h
- From: fasbjx at libertysurf dot fr, Branjonneau at free dot fr
- Date: Sat, 4 Aug 2001 00:50:28 +0200 (CEST)
- Reply-To: fasbjx at free dot fr
>Number: 3939
>Category: c++
>Synopsis: iostream and symbol from stdlib.h
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Sat Aug 04 05:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Franck Branjonneau
>Release: 3.0 (Debian) (Debian testing/unstable)
>Organization:
>Environment:
System: Linux alpha.tchume.net 2.4.4 #2 mar mai 22 08:16:07 CEST 2001 i586 unknown
Architecture: i586
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
The following code:
namespace system {}
namespace {
#include <iostream>
}
gives, from codesourcery:
These are the results of processing your source code with the following command:
g++ [input]
Exit code: 256
Messages:
In file included from /usr/local/include/g++-v3/bits/stl_algobase.h:44,
from /usr/local/include/g++-v3/bits/std_memory.h:20,
from /usr/local/include/g++-v3/bits/std_string.h:43,
from /usr/local/include/g++-v3/bits/localefwd.h:42,
from /usr/local/include/g++-v3/bits/std_ios.h:43,
from /usr/local/include/g++-v3/bits/std_ostream.h:39,
from /usr/local/include/g++-v3/bits/std_iostream.h:40,
from /usr/local/include/g++-v3/iostream:31,
from /usr/tmp/@23759.7.cc:4:
/usr/local/include/g++-v3/bits/std_cstdlib.h:103: Internal error #382.
/usr/local/include/g++-v3/bits/std_cstdlib.h:103: Internal compiler error in
validate_nonmember_using_decl, at cp/decl2.c:5004
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: