From issues-return-1948-apmail-stdcxx-issues-archive=stdcxx.apache.org@stdcxx.apache.org Tue May 20 19:22:20 2008 Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 87179 invoked from network); 20 May 2008 19:22:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 19:22:20 -0000 Received: (qmail 87918 invoked by uid 500); 20 May 2008 19:22:21 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 87899 invoked by uid 500); 20 May 2008 19:22:21 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 87888 invoked by uid 99); 20 May 2008 19:22:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 12:22:21 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 19:21:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E50D234C119 for ; Tue, 20 May 2008 12:21:55 -0700 (PDT) Message-ID: <947372546.1211311315647.JavaMail.jira@brutus> Date: Tue, 20 May 2008 12:21:55 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Reopened: (STDCXX-200) [Sun C++ 5.8] 64-bit truncation warnings 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-200?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor reopened STDCXX-200: --------------------------------- We still have some of these warnings in the library and a ton of them in th= e rest of the project: {noformat} $ gunzip -c solaris-10-sparc-sunpro-5.9-12D-solaris-656010-log.gz.txt | gre= p "Warning, truncwarn:" | wc -l 1167 {noformat} > [Sun C++ 5.8] 64-bit truncation warnings > ---------------------------------------- > > Key: STDCXX-200 > URL: https://issues.apache.org/jira/browse/STDCXX-200 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: 4.1.3 > Environment: Sun C++ 5.8/Solaris 10 > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Minor > Fix For: 4.2.0 > > > A wide (64-bit) build of the library with Sun C++ 5.8 produces the warnin= gs below: > gmake[2]: Entering directory `/build/sebor/sunpro-5.8.j1-15S/lib' > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/codecvt.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/collate.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/ctype.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/facet.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/iso2022.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/locale_core.cpp > "/amd/devco/sebor/dev/stdlib/src/locale_core.cpp", line 136: Warning: Con= version of 64 bit type value to "int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/locale_core.cpp", line 136: Warning: Con= version of 64 bit type value to "int" causes truncation. > 2 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/num_get.cpp > "/amd/devco/sebor/dev/stdlib/src/num_get.cpp", line 422: Warning: Convers= ion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/num_get.cpp", line 451: Warning: Convers= ion of 64 bit type value to "int" causes truncation. > 2 Warning(s) detected. > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/num_put.cpp > "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 413: Warning: Convers= ion of 64 bit type value to "const int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 413: Warning: Convers= ion of 64 bit type value to "const int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 722: Warning: Convers= ion of 64 bit type value to "int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 749: Warning: Convers= ion of 64 bit type value to "int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 779: Warning: Convers= ion of 64 bit type value to "int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/num_put.cpp", line 807: Warning: Convers= ion of 64 bit type value to "int" causes truncation. > 6 Warning(s) detected. > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/punct.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 170: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 183: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 200: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 187: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 350: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 363: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 380: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 385: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/punct.cpp", line 367: Warning: Conversio= n of 64 bit type value to "unsigned" causes truncation. > 13 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/strstream.cpp > "/amd/devco/sebor/dev/stdlib/include/strstream", line 188: Warning: std::= istrstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *). > "/amd/devco/sebor/dev/stdlib/include/strstream", line 226: Warning: std::= ostrstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *). > "/amd/devco/sebor/dev/stdlib/include/strstream", line 266: Warning: std::= strstream::rdbuf hides the function std::ios::rdbuf(std::streambuf *). > 3 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/time_put.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 413: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 414: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 415: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 416: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 417: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 605: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 630: Warning: Conver= sion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2022: Warning: Conve= rsion of 64 bit type value to "int" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2660: Warning: Conve= rsion of 64 bit type value to "const unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2660: Warning: Conve= rsion of 64 bit type value to "const unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2760: Warning: Conve= rsion of 64 bit type value to "const unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/src/time_put.cpp", line 2760: Warning: Conve= rsion of 64 bit type value to "const unsigned" causes truncation. > 16 Warning(s) detected. > ... > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/wcodecvt.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I/amd/devco/sebor/dev/stdl= ib/include -I/build/sebor/sunpro-5.8.j1-15S/include -library=3D%none -g -= xarch=3Dv9 +w /amd/devco/sebor/dev/stdlib/src/wctype.cpp > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 244: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 250: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 257: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > "/amd/devco/sebor/dev/stdlib/include/loc/_localedef.h", line 308: Warning= : Conversion of 64 bit type value to "unsigned" causes truncation. > 4 Warning(s) detected. > CC -xar -o libstd15S.a assert.o atomic-cxx.o bitset.o catalog.o codecvt= .o collate.o ctype.o ctype_bits.o exception.o export.o facet.o file.o insta= nce.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 memattr.o memory.o messages.o = num_get.o num_put.o punct.o random.o setlocale.o string.o strstream.o strto= l.o ti_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_mon= eypunct.o ti_num_get.o ti_num_put.o ti_numpunct.o ti_ostream.o ti_streambuf= .o ti_string.o ti_stringbuf.o ti_time_get.o ti_time_put.o ti_wcollate.o ti_= wfilebuf.o ti_winsert_dbl.o ti_winsert_int.o ti_winsert_ptr.o ti_wios.o ti_= wistream.o ti_wmessages.o ti_wmoney_get.o ti_wmoney_put.o ti_wmoneypunct.o = ti_wnum_get.o ti_wnum_put.o ti_wnumpunct.o ti_wostream.o ti_wstreambuf.o ti= _wstring.o ti_wstringbuf.o ti_wtime_get.o ti_wtime_put.o time_get.o time_pu= t.o tmpbuf.o typeinfo.o valarray.o vecbool.o version.o wcodecvt.o wctype.o= =20 > gencat rwstderr.cat /amd/devco/sebor/dev/stdlib/src/rwstderr.msg > gmake[2]: Leaving directory `/build/sebor/sunpro-5.8.j1-15S/lib' --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.