[Bug libstdc++/33852] incorrect text formating in "std::cout" with UTF-8

2007-10-27 Thread siegerstein at pochta dot ru
--- Comment #2 from siegerstein at pochta dot ru 2007-10-27 20:27 --- Created an attachment (id=14416) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14416&action=view) bug.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33852

[Bug libstdc++/33852] incorrect text formating in "std::cout" with UTF-8

2007-10-27 Thread siegerstein at pochta dot ru
--- Comment #1 from siegerstein at pochta dot ru 2007-10-27 20:26 --- Can any body comment this bug? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33852

[Bug c++/33852] New: incorrect text formating in "std::cout" with UTF-8

2007-10-21 Thread siegerstein at pochta dot ru
"óñòðîéñòâî" << std::setw(15) << "óðîâåíü" << std::endl; return 0; } $ g++-4.2.2 bug.cpp -o bug RESULT: Mixer__Device_Recording__Active_____Stereo_Current ChannelAvailable__Source_Source___

[Bug c++/33182] ()

2007-08-25 Thread siegerstein at pochta dot ru
--- Comment #3 from siegerstein at pochta dot ru 2007-08-25 10:01 --- (In reply to comment #2) > (float) 5 / 8 > Means the same as: > ((float)5) / 8 > > But while both: > (float) (5 / 8) > and > float (5 / 8) > Are doing the division in integer. > &g

[Bug c++/33182] ()

2007-08-24 Thread siegerstein at pochta dot ru
--- Comment #1 from siegerstein at pochta dot ru 2007-08-25 05:04 --- Check this. #include int main() { std::cout << "*** to float " << std::endl; std::cout << 8 / 5 << std::endl; std::cout << (float) 8 / 5

[Bug c++/33182] New: ()

2007-08-24 Thread siegerstein at pochta dot ru
eturn 0; 9: } Work only line 4. Why? -- Summary: () Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: