From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8154 invoked by alias); 7 Nov 2002 22:06:04 -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 8139 invoked by uid 71); 7 Nov 2002 22:06:03 -0000 Date: Thu, 07 Nov 2002 14:06:00 -0000 Message-ID: <20021107220603.8138.qmail@sources.redhat.com> To: paolo@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "R. D. Nichols, Jr." Subject: Re: libstdc++/8469: Obsolete iostream.h and fstream.h? Reply-To: "R. D. Nichols, Jr." X-SW-Source: 2002-11/txt/msg00378.txt.bz2 List-Id: The following reply was made to PR libstdc++/8469; it has been noted by GNATS. From: "R. D. Nichols, Jr." To: , , , , Cc: Subject: Re: libstdc++/8469: Obsolete iostream.h and fstream.h? Date: Thu, 7 Nov 2002 15:57:19 -0600 This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C28676.5A5862C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable After reading the reply, I was able to get rid of the 'obsolete header = file' error from before by substituting with . I = now get the following error while trying to compile the world famous = 'Hello World' program: test.cc: In function 'int main()': test.cc:5: 'cout' undeclared (first use this function) test.cc:5: (Each undeclared identifier is reported only once for each = function it appears in.) Sorry for not including my compiler spew from beforel Thanks, R. D. Nichols, Jr. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview audit-trail ------=_NextPart_000_0017_01C28676.5A5862C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
After reading the reply, I was able to get rid of the = 'obsolete header=20 file' error from before by substituting <iostream.h> with=20 <iostream>.  I now get the following error while trying to = compile=20 the world famous 'Hello World' program:
 
test.cc: In function 'int main()':
test.cc:5: 'cout' undeclared (first use this function)
test.cc:5: (Each undeclared identifier is reported only once for = each=20 function it appears in.)
 
Sorry for not including my compiler spew from beforel
 
Thanks,
R. D. Nichols,  Jr.
 
 
 
http://gcc.gnu= .org/cgi-bin/gnatsweb.pl?cmd=3Dview=20 audit-trail ------=_NextPart_000_0017_01C28676.5A5862C0--