public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5327: compliation question
@ 2002-01-08 15:26 jianhua.zhou
  0 siblings, 0 replies; 3+ messages in thread
From: jianhua.zhou @ 2002-01-08 15:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5327
>Category:       c++
>Synopsis:       compliation question
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 08 15:26:06 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jianhua Zhou
>Release:        3.0.3
>Organization:
>Environment:
RedHat 7.1
>Description:
hex is no longer compiled by g++ 3.0.3

main()
{
       cout << hex << 123 << dec << endl;
}

compile this code will get a error.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5327: compliation question
@ 2002-01-08 16:11 zack
  0 siblings, 0 replies; 3+ messages in thread
From: zack @ 2002-01-08 16:11 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jianhua.zhou, nobody

Synopsis: compliation question

State-Changed-From-To: open->closed
State-Changed-By: zack
State-Changed-When: Tue Jan  8 16:11:10 2002
State-Changed-Why:
    User error.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5327


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/5327: compliation question
@ 2002-01-08 16:06 Zack Weinberg
  0 siblings, 0 replies; 3+ messages in thread
From: Zack Weinberg @ 2002-01-08 16:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/5327; it has been noted by GNATS.

From: Zack Weinberg <zack@codesourcery.com>
To: jianhua.zhou@informix.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/5327: compliation question
Date: Tue, 8 Jan 2002 16:03:10 -0800

 On Tue, Jan 08, 2002 at 11:22:23PM -0000, jianhua.zhou@informix.com wrote:
 > main()
 > {
 >        cout << hex << 123 << dec << endl;
 > }
 
 You have not included the appropriate header, and all the symbols you
 are trying to use are in namespace std.
 
 #include <iostream>
 int
 main()
 {
   std::cout << std::hex << 123 << std::dec << std::endl;
 }
 
 zw


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-09  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-08 15:26 c++/5327: compliation question jianhua.zhou
2002-01-08 16:06 Zack Weinberg
2002-01-08 16:11 zack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).