From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31415 invoked by alias); 18 Dec 2002 13:53:54 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31394 invoked by uid 61); 18 Dec 2002 13:53:54 -0000 Date: Wed, 18 Dec 2002 05:53:00 -0000 Message-ID: <20021218135354.31393.qmail@sources.redhat.com> To: djalil.chafai@laposte.net, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, djalil.chafai@laposte.net, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8977: g++ 3.2.2 unable to compile some code with template args X-SW-Source: 2002-12/txt/msg00922.txt.bz2 List-Id: Synopsis: g++ 3.2.2 unable to compile some code with template args State-Changed-From-To: open->closed State-Changed-By: reichelt State-Changed-When: Wed Dec 18 05:53:52 2002 State-Changed-Why: Not a bug. gcc does not know the identifier ostream_iterator and fails with a parse error. If you add #include to your program (as required by the ISO standard), everything works fine. BTW, Intels compiler seems to import ostream_iterator also with #include which is wrong. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8977