[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#52382: marked as done ([fixed with libstdc++-v3] setw is ignored for strings output)

Your message dated Wed, 04 Jun 2003 04:17:38 -0400
with message-id <E19NTSk-0001yy-00@auric.debian.org>
and subject line Bug#52382: fixed in gcc-3.3 1:3.3ds9-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at bugs) by bugs.debian.org; 9 Dec 1999 15:30:40 +0000
Received: (qmail 23396 invoked from network); 9 Dec 1999 15:30:40 -0000
Received: from mail1.pezetel.com.pl (HELO ntsrv.pezetel.com.pl) (
  by master.debian.org with SMTP; 9 Dec 1999 15:30:40 -0000
Received: from mail2.softax.com.pl []
	(HELO softax.com.pl)
	by ntsrv.pezetel.com.pl (AltaVista Mail V2.0/2.0 BL23 listener)
	id 0000_0117_384f_ca44_ded8;
	Thu, 09 Dec 1999 16:27:00 +0100
Sender: marcink
Message-ID: <384FCAF3.A6E0881@softax.com.pl>
Date: Thu, 09 Dec 1999 16:29:55 +0100
From: Marcin Kasperski <Marcin.Kasperski@softax.com.pl>
Organization: Softax
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686)
X-Accept-Language: pl, Polish, en
MIME-Version: 1.0
To: Debian Bugs <bugs@bugs.debian.org>
Subject: setw is ignored for strings output
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 8bit

Package: libstdc++2.10-dev
Version: 1:2.95.2-3

I notified that doing things like
	cout << setw(30) << text;
where text is some std::string does not work. setw setting
is not used while outputting text, instead it is used
while something else is being output later.
Sample program below illustrates the problem.
// Sample by Marcin.Kasperski@bigfoot.com
// The program illustrates the fact that setw is ignored
// while outputting string's into iostream.
// setw setting is used on the first const char * instead
// Below one would expect output:
// [      1111      2222]
// but instead he gets
// [11112222         ]

#include <iostream.h>
#include <iomanip.h>
#include <string>

int main()
    string text1 = "1111";
    string text2 = "2222";

    cout << "[" << setw(10) << text1 << setw(10) << text2 << "]" <<

-- Marcin.Kasperski<at>softax.com.pl, Marcin.Kasperski<at>bigfoot.com
-- Moje pogl±dy s± moimi pogl±dami, nikogo poza mn± nie reprezentuj±.
-- ------------------------------------------------------------------
-- Osoba jest omegalizacj± ewolucji uniwersalnej na okre¶lonym 
-- odcinku etapowym  (Teilhard de Chardin)
Received: (at 52382-close) by bugs.debian.org; 4 Jun 2003 08:23:49 +0000
>From katie@auric.debian.org Wed Jun 04 03:23:49 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19NTYj-0007gg-00; Wed, 04 Jun 2003 03:23:49 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19NTSk-0001yy-00; Wed, 04 Jun 2003 04:17:38 -0400
From: Matthias Klose <doko@debian.org>
To: 52382-close@bugs.debian.org
X-Katie: $Revision: 1.34 $
Subject: Bug#52382: fixed in gcc-3.3 1:3.3ds9-3
Message-Id: <E19NTSk-0001yy-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Wed, 04 Jun 2003 04:17:38 -0400
Delivered-To: 52382-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
gcc-3.3, which is due to be installed in the Debian FTP archive:

  to pool/main/g/gcc-3.3/cpp-3.3-doc_3.3-3_all.deb
  to pool/main/g/gcc-3.3/cpp-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/fastjar_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/fixincludes_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/g++-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/g77-3.3-doc_3.3-3_all.deb
  to pool/main/g/gcc-3.3/g77-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3-base_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3-doc_3.3-3_all.deb
  to pool/main/g/gcc-3.3/gcc-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-3.diff.gz
  to pool/main/g/gcc-3.3/gcc-3.3_3.3ds9-3.dsc
  to pool/main/g/gcc-3.3/gcj-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gij-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gnat-3.3-doc_3.3-3_all.deb
  to pool/main/g/gcc-3.3/gnat-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gobjc-3.3_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/gpc-2.1-3.3-doc_3.3.20030507-3_all.deb
  to pool/main/g/gcc-3.3/gpc-2.1-3.3_3.3.20030507-3_i386.deb
  to pool/main/g/gcc-3.3/libffi2-dev_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libffi2_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libg2c0_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libgcc1_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libgcj-common_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libgcj4-dev_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libgcj4_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libobjc1_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-dbg_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-dev_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-doc_3.3-3_all.deb
  to pool/main/g/gcc-3.3/libstdc++5-3.3-pic_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/libstdc++5_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/protoize_3.3-3_i386.deb
  to pool/main/g/gcc-3.3/treelang-3.3_3.3-3_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 52382@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Mon,  2 Jun 2003 22:35:45 +0200
Source: gcc-3.3
Binary: libgnat3.15 gcc-3.3-nof gcc-3.3 libobjc1 libgcc1 lib64g2c0 libstdc++5-3.3-doc libgcj4 gpc-2.1-3.3-doc libstdc++5 cpp-3.3-doc protoize cpp-3.3 libstdc++5-3.3-dbg g77-3.3-doc gpc-2.1-3.3 g77-3.3 libgcj4-dev gcc-3.3-doc lib64objc1 lib64ffi2 libstdc++5-3.3-dev libffi2-dev gcj-3.3 libgcj-common gobjc-3.3 lib64stdc++5 gcc-3.3-soft-float lib64gcj4 treelang-3.3 libg2c0-dev lib64gcc1 fastjar lib64gnat3.15 fixincludes libg2c0 gij-3.3 libstdc++5-3.3-pic gcc-3.3-base g++-3.3 gnat-3.3 libffi2 gnat-3.3-doc
Architecture: source i386 all
Version: 1:3.3ds9-3
Distribution: unstable
Urgency: low
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
 cpp-3.3    - The GNU C preprocessor
 cpp-3.3-doc - Documentation for the GNU C preprocessor (cpp)
 fastjar    - Jar creation utility
 fixincludes - Fix non-ANSI header files
 g++-3.3    - The GNU C++ compiler
 g77-3.3    - The GNU Fortran 77 compiler
 g77-3.3-doc - Documentation for the GNU Fortran compiler (g77)
 gcc-3.3    - The GNU C compiler
 gcc-3.3-base - The GNU Compiler Collection (base package)
 gcc-3.3-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
 gcj-3.3    - The GNU compiler for Java(TM)
 gij-3.3    - The GNU Java bytecode interpreter
 gnat-3.3   - The GNU Ada compiler
 gnat-3.3-doc - Documentation for the GNU Ada compiler (gnat)
 gobjc-3.3  - The GNU Objective-C compiler
 gpc-2.1-3.3 - The GNU Pascal compiler
 gpc-2.1-3.3-doc - Documentation for the GNU Pascal compiler (gpc)
 libffi2    - Foreign Function Interface library runtime
 libffi2-dev - Foreign Function Interface library development
 libg2c0    - Runtime library for GNU Fortran 77 applications
 libgcc1    - GCC support library
 libgcj-common - Java runtime library (common files)
 libgcj4    - Java runtime library for use with gcj
 libgcj4-dev - Java development headers and static library for use with gcj
 libobjc1   - Runtime library for GNU Objective-C applications
 libstdc++5 - The GNU Standard C++ Library v3
 libstdc++5-3.3-dbg - The GNU Standard C++ Library v3 (debugging files)
 libstdc++5-3.3-dev - The GNU Standard C++ Library v3 (development files)
 libstdc++5-3.3-doc - The GNU Standard C++ Library v3 (documentation files)
 libstdc++5-3.3-pic - The GNU Standard C++ Library v3 (shared library subset kit)
 protoize   - Create/remove ANSI prototypes from C code
 treelang-3.3 - The GNU Treelang compiler
Closes: 52382 76645 105285 177433 195796
 gcc-3.3 (1:3.3ds9-3) unstable; urgency=low
   * Closing more reports, fixed in 3.2/3.3:
     - ICE building texmacs on m68k (closes: #177433).
     - libstdc++: <cmath> doesn't define trunc(...) (closes: #105285).
     - libstdc++: setw is ignored for strings output (closes: #52382, #76645).
   * Add build support to omit the manual pages and info docs from the
     packages, disabled by default. Wait for a Debian statement, which can
     be cited. Adresses: #193787.
   * Reenable the m68k-const patch, don't run the g77 testsuite on m68k.
     Addresses ICEs (#177840, #190818).
   * Update arm-xscale patch.
   * libstdc++: use __attribute__(__unknown__), instead of (unknown).
     Closes: #195796.
   * Build-Depend on glibc (>= 2.3.1) to prevent incorrect builds on woody.
     Request from Adrian Bunk.
   * Add treelang-update patch (Tim Josling), reenable treelang on powerpc.
   * Add <GNU_TYPE>-{cpp,gcc,g++,gcj,g77} symlinks (addresses: #189466).
   * Make sure not to build using binutils-[12].
 edde9cc3785d059cc4d446e1bc0dd7a2 2351 devel standard gcc-3.3_3.3ds9-3.dsc
 02c74ca849e99ac7330e32816eb49bad 2209324 devel standard gcc-3.3_3.3ds9-3.diff.gz
 707fb2f4a536500f71ab68b4c79df0cc 82882 doc optional cpp-3.3-doc_3.3-3_all.deb
 6265bb1906c9a5a18d1eee72de45196b 3093312 doc optional libstdc++5-3.3-doc_3.3-3_all.deb
 e9ff8d5076db78c5a1d4acaec7f788d8 274164 doc optional g77-3.3-doc_3.3-3_all.deb
 e5f72f6ca06897d8f37c6d04c0d4a3c6 348964 doc optional gnat-3.3-doc_3.3-3_all.deb
 de76f6752df1df17f26274ea7c46e6a2 796404 doc optional gpc-2.1-3.3-doc_3.3.20030507-3_all.deb
 22817731e6bef017f8fc2c79d6c33abd 602750 doc optional gcc-3.3-doc_3.3-3_all.deb
 0e976f8e21221d8e305e6e41ae106d13 139532 devel important gcc-3.3-base_3.3-3_i386.deb
 8594c62e09668673287639be8bb77a57 68174 libs important libgcc1_3.3-3_i386.deb
 74683ba28f883118b0c1d1790b95cdb6 1305940 interpreters standard cpp-3.3_3.3-3_i386.deb
 26c9a655003c5b89548ff84d83232f2a 22580 devel optional protoize_3.3-3_i386.deb
 eb57f1a8839d726267d1b051e817c2b6 47196 devel optional fixincludes_3.3-3_i386.deb
 7e36b80df7b59510abf2209525409769 1379168 devel optional gobjc-3.3_3.3-3_i386.deb
 79d2778bafe4cc04ead90364b395e5c8 124850 libs optional libobjc1_3.3-3_i386.deb
 fd81afe68ac2394cd1aff1fa90921cf7 12902 devel optional gij-3.3_3.3-3_i386.deb
 6447604b8ff5d642dcce6b2a7cdfd737 4011100 libs optional libgcj4_3.3-3_i386.deb
 9feba9f5e52e8f452e22ed32fd4719fb 54552 libs optional libgcj-common_3.3-3_i386.deb
 378d6228f768ff4193262fdd91e314a0 1604728 devel optional gcj-3.3_3.3-3_i386.deb
 dfefa1a605a096e683641a53e03ee2ce 4819290 libdevel optional libgcj4-dev_3.3-3_i386.deb
 f9f47829bc5ad34a2a0bab7e2f52e67c 112120 devel extra fastjar_3.3-3_i386.deb
 2b9841b08ee31c917a6ed3099f6d162c 64732 libs optional libffi2_3.3-3_i386.deb
 952b997c90e159766838ead7a7d71ad9 10716 libdevel optional libffi2-dev_3.3-3_i386.deb
 ede76032a8e0d10070bd7544029547b4 1667590 devel standard g++-3.3_3.3-3_i386.deb
 c9444ca7c37c20c6f6e4a4fe9f6b510e 268606 base important libstdc++5_3.3-3_i386.deb
 42ce00b9735914b4d4046f284b5de271 735672 libdevel optional libstdc++5-3.3-dev_3.3-3_i386.deb
 b26933c5e4da94f10472763a30ec4334 309794 libdevel extra libstdc++5-3.3-pic_3.3-3_i386.deb
 751f862da0866a9c926c9b1cc6bb4552 5004178 libdevel extra libstdc++5-3.3-dbg_3.3-3_i386.deb
 5e34ea154dab6fc2d23de0b9bc6ddead 47260 libs optional libg2c0_3.3-3_i386.deb
 36bc84acda729bbf9766d6d93a42ac31 1511900 devel optional g77-3.3_3.3-3_i386.deb
 99f47dc45028c50f5195fd0dfd2f4e6a 6105780 devel optional gnat-3.3_3.3-3_i386.deb
 77d8e02493542f9f7bde60f36e7f5e70 1238978 devel optional treelang-3.3_3.3-3_i386.deb
 8f68b9da4885de78aa4a0d75ffc7ca01 1938380 devel optional gpc-2.1-3.3_3.3.20030507-3_i386.deb
 d2afcbaf4501b23895b32fb29d7c664f 1295618 devel standard gcc-3.3_3.3-3_i386.deb

Version: GnuPG v1.2.2 (GNU/Linux)


Reply to: