Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 32240 invoked from network); 11 Sep 2007 01:11:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 01:11:50 -0000 Received: (qmail 89115 invoked by uid 500); 11 Sep 2007 01:11:44 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 89100 invoked by uid 500); 11 Sep 2007 01:11:44 -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 89089 invoked by uid 99); 11 Sep 2007 01:11:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 18:11:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 11 Sep 2007 01:11:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8CA2C714191 for ; Mon, 10 Sep 2007 18:11:29 -0700 (PDT) Message-ID: <18919359.1189473089571.JavaMail.jira@brutus> Date: Mon, 10 Sep 2007 18:11:29 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Assigned: (STDCXX-547) [Sun C++] 64-bit conversion warnings building the library In-Reply-To: <18314764.1189472790136.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-547?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor reassigned STDCXX-547: ----------------------------------- Assignee: Martin Sebor > [Sun C++] 64-bit conversion warnings building the library > --------------------------------------------------------- > > Key: STDCXX-547 > URL: https://issues.apache.org/jira/browse/STDCXX-547 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: trunk > Environment: Sun C++ +w, wide mode (-xarch=3Damd64, -xarch=3Dspar= cv9, or -m64) > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Minor > Fix For: 4.2 > > > We get a bunch of 64-bit conversion warnings when building the library in= wide (64-bit) mode with Sun C++ 5.8 and 5.9: > gmake: Entering directory `$(BUILDDIR)/lib' > CC -c -D_RWSTDDEBUG -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -lib= rary=3D%none -g -xarch=3Damd64 +w -errtags -erroff=3Dhidef $(TOPDIR)/sr= c/assert.cpp > ... > CC -c -D_RWSTDDEBUG -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -lib= rary=3D%none -g -xarch=3Damd64 +w -errtags -erroff=3Dhidef $(TOPDIR)/sr= c/locale_core.cpp > "$(TOPDIR)/src/locale_core.cpp", line 141: Warning, truncwarn: Conversion= of 64 bit type value to "int" causes truncation. > "$(TOPDIR)/src/locale_core.cpp", line 141: Warning, truncwarn: Conversion= of 64 bit type value to "int" causes truncation. > 2 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -lib= rary=3D%none -g -xarch=3Damd64 +w -errtags -erroff=3Dhidef $(TOPDIR)/sr= c/num_get.cpp > "$(TOPDIR)/src/num_get.cpp", line 432: Warning, truncwarn: Conversion of = 64 bit type value to "unsigned" causes truncation. > "$(TOPDIR)/src/num_get.cpp", line 461: Warning, truncwarn: Conversion of = 64 bit type value to "int" causes truncation. > 2 Warning(s) detected. > CC -c -D_RWSTDDEBUG -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -lib= rary=3D%none -g -xarch=3Damd64 +w -errtags -erroff=3Dhidef $(TOPDIR)/sr= c/num_put.cpp > "$(TOPDIR)/src/num_put.cpp", line 417: Warning, truncwarn: Conversion of = 64 bit type value to "const int" causes truncation. > "$(TOPDIR)/src/num_put.cpp", line 417: Warning, truncwarn: Conversion of = 64 bit type value to "const int" causes truncation. > "$(TOPDIR)/src/num_put.cpp", line 745: Warning, truncwarn: Conversion of = 64 bit type value to "int" causes truncation. > "$(TOPDIR)/src/num_put.cpp", line 772: Warning, truncwarn: Conversion of = 64 bit type value to "int" causes truncation. > "$(TOPDIR)/src/num_put.cpp", line 802: Warning, truncwarn: Conversion of = 64 bit type value to "int" causes truncation. > "$(TOPDIR)/src/num_put.cpp", line 830: Warning, truncwarn: Conversion of = 64 bit type value to "int" causes truncation. > 6 Warning(s) detected. > ... > CC -xar -o libstd.a assert.o atomic-cxx.o bitset.o catalog.o codecvt.o = collate.o ctype.o ctype_bits.o domain_error.o exception.o export.o facet.o = file.o instance.o ios.o ios_bits.o iostore.o iostream.o iso2022.o limits.o = limits_bits.o locale_bits.o locale_body.o locale_classic.o locale_combine.o= locale_core.o locale_eq.o locale_global.o locale_name.o logic_error.o mema= ttr.o memory.o messages.o mman.o num_get.o num_put.o once.o punct.o random.= o range_error.o runtime_error.o setlocale.o string.o strstream.o strtol.o t= i_collate.o ti_filebuf.o ti_insert_dbl.o ti_insert_int.o ti_insert_ptr.o ti= _ios.o ti_istream.o ti_messages.o ti_money_get.o ti_money_put.o ti_moneypun= ct.o ti_num_get.o ti_num_put.o ti_numpunct.o ti_ostream.o ti_podarray.o ti_= streambuf.o ti_string.o ti_stringbuf.o ti_time_get.o ti_time_put.o ti_wcoll= ate.o ti_wfilebuf.o ti_winsert_dbl.o ti_winsert_int.o ti_winsert_ptr.o ti_w= ios.o ti_wistream.o ti_wmessages.o ti_wmoney_get.o ti_wmoney_put.o ti_wmone= ypunct.o ti_wnum_get.o ti_wnum_put.o ti_wnumpunct.o ti_wostream.o ti_wstrea= mbuf.o ti_wstring.o ti_wstringbuf.o ti_wtime_get.o ti_wtime_put.o time_get.= o time_put.o tmpbuf.o typeinfo.o valarray.o vecbool.o version.o wcodecvt.o = wctype.o=20 > gencat rwstderr.cat $(TOPDIR)/src/rwstderr.msg > gmake: Leaving directory `$(BUILDDIR)/lib' --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.