libstdc++/9644: std::cout<<std::ios::hex doesn't work
anonymous@sources.redhat.com
anonymous@sources.redhat.com
Mon Feb 10 11:56:00 GMT 2003
>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:
More information about the Gcc-bugs
mailing list