This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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: 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]