Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 41577 invoked from network); 23 Aug 2007 01:12:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 01:12:51 -0000 Received: (qmail 65137 invoked by uid 500); 23 Aug 2007 01:12:48 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 65126 invoked by uid 500); 23 Aug 2007 01:12:48 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 65115 invoked by uid 99); 23 Aug 2007 01:12:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 18:12:48 -0700 X-ASF-Spam-Status: No, hits=-98.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 01:12:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AEF4A71417D for ; Wed, 22 Aug 2007 18:12:30 -0700 (PDT) Message-ID: <23804234.1187831550714.JavaMail.jira@brutus> Date: Wed, 22 Aug 2007 18:12:30 -0700 (PDT) From: "Everton T B Araujo (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-219) std::setfill() errors with std::basic_ostream In-Reply-To: <18701057.1151518289844.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521990 ] Everton T B Araujo commented on STDCXX-219: ------------------------------------------- MSVC8 compiles this code successfully with the trunk stdcxx version. Maybe the bug has been fixed, I don't have all other platforms/compilers to test it. > std::setfill() errors with std::basic_ostream > -------------------------------------------------------- > > Key: STDCXX-219 > URL: https://issues.apache.org/jira/browse/STDCXX-219 > Project: C++ Standard Library > Issue Type: Bug > Components: 27. Input/Output > Environment: all > Reporter: Martin Sebor > > Moved from the Rogue Wave bug tracking database: > ****Created By: sebor @ Dec 29, 2003 12:24:19 PM**** > The well-formed program below fails to compile with libstd 3.1.1. > #include > #include > #include > struct Traits: std::char_traits { }; > int main () > { > std::basic_ostringstream strm; > strm << std::setfill ('_'); > strm.width (2); > strm << '#'; > std::cout << strm.str ().c_str () << '\n'; > } > u.cpp: In function `int main()': > u.cpp:11: no match for `std::basic_ostringstream > & << std::__rw_basic_ios_manip >' > ${TOPDIR}/include/ostream:120: candidates are: class std::basic_ostream & std::basic_ostream::operator <<(std::basic_ostream & (*)(std::basic_ostream &)) > ${TOPDIR}/include/ostream:125: class std::basic_ostream & std::basic_ostream::operator <<(std::ios_base & (*)(std::ios_base &)) > ${TOPDIR}/include/ostream:130: class std::basic_ostream & std::basic_ostream::operator <<(std::basic_ios & (*)(std::basic_ios &)) > ${TOPDIR}/include/ostream:138: class std::basic_ostream & std::basic_ostream::operator <<(bool) > ${TOPDIR}/include/ostream:258: class std::basic_ostream & std::basic_ostream::operator <<(short int) > ${TOPDIR}/include/ostream:146: class std::basic_ostream & std::basic_ostream::operator <<(short unsigned int) > ${TOPDIR}/include/ostream:274: class std::basic_ostream & std::basic_ostream::operator <<(int) > ${TOPDIR}/include/ostream:152: class std::basic_ostream & std::basic_ostream::operator <<(unsigned int) > ${TOPDIR}/include/ostream:156: class std::basic_ostream & std::basic_ostream::operator <<(long int) > ${TOPDIR}/include/ostream:160: class std::basic_ostream & std::basic_ostream::operator <<(long unsigned int) > ${TOPDIR}/include/ostream:164: class std::basic_ostream & std::basic_ostream::operator <<(float) > ${TOPDIR}/include/ostream:168: class std::basic_ostream & std::basic_ostream::operator <<(double) > ${TOPDIR}/include/ostream:172: class std::basic_ostream & std::basic_ostream::operator <<(long double) > ${TOPDIR}/include/ostream:179: class std::basic_ostream & std::basic_ostream::operator <<(long long unsigned int) > ${TOPDIR}/include/ostream:184: class std::basic_ostream & std::basic_ostream::operator <<(long long int) > ${TOPDIR}/include/ostream:190: class std::basic_ostream & std::basic_ostream::operator <<(const void *) > ${TOPDIR}/include/ostream.cc:135: class std::basic_ostream & std::basic_ostream::operator <<(std::basic_streambuf *) > ${TOPDIR}/include/ostream:449: class std::basic_ostream & std::operator <<(std::basic_ostream &, const signed char *) > ${TOPDIR}/include/ostream:441: class std::basic_ostream & std::operator <<(std::basic_ostream &, const unsigned char *) > ${TOPDIR}/include/ostream:433: class std::basic_ostream & std::operator <<(std::basic_ostream &, signed char) > ${TOPDIR}/include/ostream:425: class std::basic_ostream & std::operator <<(std::basic_ostream &, unsigned char) > ${TOPDIR}/include/ostream:402: class std::basic_ostream & std::operator <<(std::basic_ostream &, const char *) > ${TOPDIR}/include/ostream:390: class std::basic_ostream & std::operator <<(std::basic_ostream &, const char *) > ${TOPDIR}/include/ostream:356: class std::basic_ostream & std::operator <<(std::basic_ostream &, char) > ${TOPDIR}/include/ostream:345: class std::basic_ostream & std::operator <<(std::basic_ostream &, char) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.