This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/9644: std::cout<<std::ios::hex doesn't work
- From: anonymous at sources dot redhat dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 10 Feb 2003 11:55:06 -0000
- Subject: libstdc++/9644: std::cout<<std::ios::hex doesn't work
>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: