This is the mail archive of the 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++/5744: ios::setw doesn't affect strings

>Number:         5744
>Category:       libstdc++
>Synopsis:       ios::setw doesn't affect strings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 21 06:16:01 PST 2002
>Release:        gcc 2.95.3

In the attached program, cout.setw doesn't affect printing 
strings. Printing char* does work however.
Compile and run.
The problem is fixed in gcc 3.x

Content-Type: application/octet-stream; name="setw.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="setw.C"


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