[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-stdcxx-issues
Subject:    [jira] Resolved: (STDCXX-968) [HP aCC 6.16] Remark #4231 using
From:       "Travis Vitek (JIRA)" <jira () apache ! org>
Date:       2008-08-05 16:24:44
Message-ID: 1664168804.1217953484300.JavaMail.jira () brutus
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/STDCXX-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Travis Vitek resolved STDCXX-968.
---------------------------------

    Resolution: Fixed

Committed to 4.2.x in [r682771|http://svn.apache.org/viewvc?rev=682771]
Merged to 4.3.x in [r682772|http://svn.apache.org/viewvc?rev=682772]
Merged to trunk in [r682773|http://svn.apache.org/viewvc?rev=682773]

> [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
> Time Spent: 1h
> Remaining Estimate: 0h
> 
> 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 <vector>
> struct S { };
> int main ()
> {
> S s;
> std::vector<S> 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<S>, _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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic