Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 44608 invoked from network); 7 Apr 2008 19:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Apr 2008 19:10:15 -0000 Received: (qmail 35713 invoked by uid 500); 7 Apr 2008 19:10:13 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 35689 invoked by uid 500); 7 Apr 2008 19:10:13 -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 35658 invoked by uid 99); 7 Apr 2008 19:10:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 12:10:13 -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; Mon, 07 Apr 2008 19:09:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70E03234C0C5 for ; Mon, 7 Apr 2008 12:07:28 -0700 (PDT) Message-ID: <1232816364.1207595248461.JavaMail.jira@brutus> Date: Mon, 7 Apr 2008 12:07:28 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-830) [HP aCC 6.15] many remarks 4298 and 4299 from _localedef.h In-Reply-To: <1517738349.1207595248424.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-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-830: -------------------------------- Priority: Trivial (was: Major) > [HP aCC 6.15] many remarks 4298 and 4299 from _localedef.h > ---------------------------------------------------------- > > Key: STDCXX-830 > URL: https://issues.apache.org/jira/browse/STDCXX-830 > Project: C++ Standard Library > Issue Type: Sub-task > Components: Build > Affects Versions: 4.2.0 > Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007] > Reporter: Martin Sebor > Assignee: Martin Sebor > Priority: Trivial > Fix For: 4.2.1 > > Original Estimate: 2h > Remaining Estimate: 2h > > When compiled with HP aCC 6 with the [+w|http://docs.hp.com/en/10946/options.htm#opt+w] option on, the library header [_localedef.h|http://svn.apache.org/repos/asf/stdcxx/trunk/include/loc/_localedef.h] produces a bunch of "64-bit conversion" remarks: > {noformat} > aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -AA +O2 +DD64 +w \ > +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261 +W2340 \ > +W2401 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255 \ > +W4272 +W4284 +W4285 +W4286 +W4296 +W4297 +W3348 +Z > +Z $(TOPDIR)/src/codecvt.cpp > "$(TOPDIR)/include/loc/_localedef.h", line 160: remark #4298-D: addition result could be truncated before cast to bigger sized type > return (wtolower_off - wtoupper_off) / sizeof (__rw_upper_elm); > ^ > "$(TOPDIR)/include/loc/_localedef.h", line 164: remark #4298-D: addition result could be truncated before cast to bigger sized type > return (wmask_off - wtolower_off) / sizeof (__rw_lower_elm); > ^ > "$(TOPDIR)/include/loc/_localedef.h", line 168: remark #4298-D: addition result could be truncated before cast to bigger sized type > return charmap_off - codeset_off; > ^ > "$(TOPDIR)/include/loc/_localedef.h", line 172: remark #4298-D: addition result could be truncated before cast to bigger sized type > return wtoupper_off - charmap_off; > ^ > "$(TOPDIR)/include/loc/_localedef.h", line 122: remark #4299-D: multiply result could be truncated before cast to bigger sized type > return *(_RWSTD_ARRAY_ELM (wchar_t, wchar_off, off * 2)); > ^ > "$(TOPDIR)/include/loc/_localedef.h", line 128: remark #4298-D: addition result could be truncated before cast to bigger sized type > return *(_RWSTD_ARRAY_ELM (wchar_t, wchar_off, off * 2 + 1)); > ^ > {noformat} > There are a total of 19 of them in the whole library build: > {noformat} > $ cat hpux-11.31-ia64-acc-6.16-12D-642031-log | grep "include/loc/_localedef.h\", line 160: remark #429[89]" | wc -l > 19 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.