public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/9644: std::cout<<std::ios::hex doesn't work
@ 2003-02-10 11:56 anonymous
  0 siblings, 0 replies; only message in thread
From: anonymous @ 2003-02-10 11:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9644
>Category:       libstdc++
>Synopsis:       std::cout<<std::ios::hex doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 10 11:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     hadmut@danisch.de
>Release:        3.2.2
>Organization:
>Environment:
Linux
>Description:
std::cout<<std::ios::hex
prints the constant '8' instead of turning the integer
representation into hexadecimal.
>How-To-Repeat:
#include <iostream>

int main()
{
   std::cout<<std::ios::hex<<100<<"\n";
   return 0;
}

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 From: hadmut@danisch.de
 Reply-To: hadmut@danisch.de
 X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31)
 X-GNATS-Notify: 
 
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-10 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 11:56 libstdc++/9644: std::cout<<std::ios::hex doesn't work anonymous

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).