Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 50147 invoked from network); 18 Jul 2008 03:38:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 03:38:30 -0000 Received: (qmail 89181 invoked by uid 500); 18 Jul 2008 03:38:30 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 89156 invoked by uid 500); 18 Jul 2008 03:38:30 -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 89145 invoked by uid 99); 18 Jul 2008 03:38:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 20:38:30 -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; Fri, 18 Jul 2008 03:37:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7EBB234C173 for ; Thu, 17 Jul 2008 20:37:31 -0700 (PDT) Message-ID: <2146175392.1216352251817.JavaMail.jira@brutus> Date: Thu, 17 Jul 2008 20:37:31 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-968) [HP aCC 6.16] Remark #4231 using std::vector<>::assign In-Reply-To: <1266589499.1213294365126.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-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-968: -------------------------------- Component/s: 23. Containers Description: Note that I have removed +W4231 from the build line by modifying {{$(BUILDDIR)/makefile.in}} {noformat} [vitek@gofish tests]$ cat t.cpp && gmake t.o #include struct S { }; int main () { S s; std::vector v; v.assign (&s, &s + 1); return 0; } aCC -c -D_RWSTDDEBUG \ -I/amd/devco/vitek/stdcxx/4.3.x/include \ -I/build/vitek/4.3.0/11S/include \ -I/amd/devco/vitek/stdcxx/4.3.x/tests/include \ -AA -g +d +DD64 +w \ +W392,655,684,818,819,849 \ +W2193,2236,2261,2340,2401,2487 \ +W4227,4229,4235,4237,4249 \ +W4255,4272,4284,4285,4286,4296,4297 \ +W3348 t.cpp "/amd/devco/vitek/stdcxx/4.3.x/include/vector", line 194: remark #4231-D: 64 bit migration: conversion between types of different sizes has occurred (from "int" to "void *" ) _C_assign (__first, __last, _RWSTD_DISPATCH (_InputIter)); ^ detected during instantiation of "void std::vector<_TypeT, _Allocator>::assign(_InputIter, _InputIter) [with _TypeT=S, _Allocator=std::allocator, _InputIter=S *]" at line 10 of "t.cpp" {noformat} was: Note that I have removed +W4231 from the build line by modifying {{$(BUILDDIR)/makefile.in}} {noformat} [vitek@gofish tests]$ cat t.cpp && gmake t.o #include struct S { }; int main () { S s; std::vector v; v.assign (&s, &s + 1); return 0; } aCC -c -D_RWSTDDEBUG \ -I/amd/devco/vitek/stdcxx/4.3.x/include \ -I/build/vitek/4.3.0/11S/include \ -I/amd/devco/vitek/stdcxx/4.3.x/tests/include \ -AA -g +d +DD64 +w \ +W392,655,684,818,819,849 \ +W2193,2236,2261,2340,2401,2487 \ +W4227,4229,4235,4237,4249 \ +W4255,4272,4284,4285,4286,4296,4297 \ +W3348 t.cpp "/amd/devco/vitek/stdcxx/4.3.x/include/vector", line 194: remark #4231-D: 64 bit migration: conversion between types of different sizes has occurred (from "int" to "void *" ) _C_assign (__first, __last, _RWSTD_DISPATCH (_InputIter)); ^ detected during instantiation of "void std::vector<_TypeT, _Allocator>::assign(_InputIter, _InputIter) [with _TypeT=S, _Allocator=std::allocator, _InputIter=S *]" at line 10 of "t.cpp" {noformat} Assignee: Travis Vitek Set Component to Containers and assigned to reporter. > [HP aCC 6.16] Remark #4231 using std::vector<>::assign > ------------------------------------------------------ > > Key: STDCXX-968 > URL: https://issues.apache.org/jira/browse/STDCXX-968 > Project: C++ Standard Library > Issue Type: Improvement > Components: 23. Containers > Affects Versions: 4.2.1 > Reporter: Travis Vitek > Assignee: Travis Vitek > Priority: Trivial > Fix For: 4.2.2 > > Original Estimate: 1h > Remaining Estimate: 1h > > Note that I have removed +W4231 from the build line by modifying {{$(BUILDDIR)/makefile.in}} > {noformat} > [vitek@gofish tests]$ cat t.cpp && gmake t.o > #include > struct S { }; > int main () > { > S s; > std::vector v; > v.assign (&s, &s + 1); > return 0; > } > aCC -c -D_RWSTDDEBUG \ > -I/amd/devco/vitek/stdcxx/4.3.x/include \ > -I/build/vitek/4.3.0/11S/include \ > -I/amd/devco/vitek/stdcxx/4.3.x/tests/include \ > -AA -g +d +DD64 +w \ > +W392,655,684,818,819,849 \ > +W2193,2236,2261,2340,2401,2487 \ > +W4227,4229,4235,4237,4249 \ > +W4255,4272,4284,4285,4286,4296,4297 \ > +W3348 t.cpp > "/amd/devco/vitek/stdcxx/4.3.x/include/vector", line 194: remark #4231-D: 64 > bit migration: conversion between types of different sizes has > occurred (from "int" to "void *" ) > _C_assign (__first, __last, _RWSTD_DISPATCH (_InputIter)); > ^ > detected during instantiation of "void std::vector<_TypeT, > _Allocator>::assign(_InputIter, _InputIter) [with > _TypeT=S, _Allocator=std::allocator, _InputIter=S *]" > at line 10 of "t.cpp" > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.