Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 13527 invoked from network); 4 Oct 2007 15:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 15:02:42 -0000 Received: (qmail 7300 invoked by uid 500); 4 Oct 2007 15:02:31 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 7281 invoked by uid 500); 4 Oct 2007 15:02:31 -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 7270 invoked by uid 99); 4 Oct 2007 15:02:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 08:02:31 -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; Thu, 04 Oct 2007 15:02:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CF8E8714241 for ; Thu, 4 Oct 2007 08:01:51 -0700 (PDT) Message-ID: <2299989.1191510111847.JavaMail.jira@brutus> Date: Thu, 4 Oct 2007 08:01:51 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Closed: (STDCXX-564) [MSVC] 64-bit conversion warnings building the library In-Reply-To: <26150843.1190215364165.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-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farid Zaripov closed STDCXX-564. -------------------------------- > [MSVC] 64-bit conversion warnings building the library > ------------------------------------------------------ > > Key: STDCXX-564 > URL: https://issues.apache.org/jira/browse/STDCXX-564 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: trunk > Environment: MSVC 8.0 x64 platform > Reporter: Farid Zaripov > Assignee: Farid Zaripov > Fix For: 4.2 > > Attachments: stdlib.patch > > > These warnings I got when building the library with MSVC 8.0 / x64 platform: > file.cpp > $(TOPDIR)\src\file.cpp(484) : warning C4244: 'argument' : conversion from '__int64' to 'long', possible loss of data > $(TOPDIR)\src\file.cpp(493) : warning C4244: 'argument' : conversion from '__int64' to 'long', possible loss of data > $(TOPDIR)\src\file.cpp(508) : warning C4244: 'argument' : conversion from 'unsigned __int64' to 'unsigned int', possible loss of data > $(TOPDIR)\src\file.cpp(523) : warning C4244: 'argument' : conversion from 'unsigned __int64' to 'unsigned int', possible loss of data > locale_core.cpp > $(TOPDIR)\src\locale_core.cpp(141) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data > num_put.cpp > $(TOPDIR)\src\num_put.cpp(745) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data > $(TOPDIR)\src\num_put.cpp(772) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data > $(TOPDIR)\src\num_put.cpp(802) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data > $(TOPDIR)\src\num_put.cpp(830) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data > ti_num_get.cpp > $(TOPDIR)\include\loc/_punct.cc(90) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) > $(TOPDIR)\include\loc/_punct.h(143) : see reference to function template instantiation '__rw::__rw_istreambuf_iterator __rw::__rw_match_name>(std::istreambuf_iterator<_CharT,_Traits>,std::istreambuf_iterator<_CharT,_Traits>,const char *const *,const unsigned __int64 *,unsigned __int64,unsigned __int64 &,int &,std::ios_base *)' being compiled > with > [ > _CharT=char, > _Traits=std::char_traits > ] > ti_wnum_get.cpp > $(TOPDIR)\include\loc/_punct.cc(90) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) > $(TOPDIR)\include\loc/_punct.h(150) : see reference to function template instantiation '__rw::__rw_wistreambuf_iterator __rw::__rw_match_name>(std::istreambuf_iterator<_CharT,_Traits>,std::istreambuf_iterator<_CharT,_Traits>,const wchar_t *const *,const unsigned __int64 *,unsigned __int64,unsigned __int64 &,int &,std::ios_base *)' being compiled > with > [ > _CharT=wchar_t, > _Traits=std::char_traits > ] > $(TOPDIR)\include\loc/_punct.cc(90) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) > $(TOPDIR)\include\loc/_num_get.cc(218) : see reference to function template instantiation '_InputIter __rw::__rw_match_name>(_InputIter,_InputIter,const _CharT *const *,const unsigned __int64 *,unsigned __int64,unsigned __int64 &,int &,std::ios_base *)' being compiled > with > [ > _InputIter=std::istreambuf_iterator>, > _CharT=char, > _Traits=std::char_traits > ] > $(TOPDIR)\include\loc/_num_get.cc(172) : while compiling class template member function 'std::istreambuf_iterator<_CharT,_Traits> std::num_get<_CharT,_InputIter>::do_get(std::istreambuf_iterator<_CharT,_Traits>,std::istreambuf_iterator<_CharT,_Traits>,std::ios_base &,__rw::__rw_iostate &,bool &) const' > with > [ > _CharT=char, > _Traits=std::char_traits, > _InputIter=std::istreambuf_iterator> > ] > $(TOPDIR)\include\loc/_locale.h(346) : see reference to class template instantiation 'std::num_get<_CharT,_InputIter>' being compiled > with > [ > _CharT=char, > _InputIter=std::istreambuf_iterator> > ] > $(TOPDIR)\include\loc/_locale.h(88) : see reference to function template instantiation 'const __rw::__rw_facet *__rw::__rw_get_facet<_Facet>(const std::locale &,const _Facet *)' being compiled > with > [ > _Facet=std::numpunct > ] > $(TOPDIR)\include\loc/_num_get.cc(196) : see reference to function template instantiation 'const _Facet &std::use_facet>(const std::locale &)' being compiled > with > [ > _Facet=std::numpunct, > _CharT=wchar_t > ] > $(TOPDIR)\include\loc/_num_get.cc(172) : while compiling class template member function 'std::istreambuf_iterator<_CharT,_Traits> std::num_get<_CharT,_InputIter>::do_get(std::istreambuf_iterator<_CharT,_Traits>,std::istreambuf_iterator<_CharT,_Traits>,std::ios_base &,__rw::__rw_iostate &,bool &) const' > with > [ > _CharT=wchar_t, > _Traits=std::char_traits, > _InputIter=std::istreambuf_iterator> > ] > $(TOPDIR)\include\loc/_num_get.h(276) : see reference to class template instantiation 'std::num_get<_CharT,_InputIter>' being compiled > with > [ > _CharT=wchar_t, > _InputIter=std::istreambuf_iterator> > ] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.