Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 18094 invoked from network); 31 Mar 2008 17:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Mar 2008 17:36:46 -0000 Received: (qmail 34559 invoked by uid 500); 31 Mar 2008 17:36:46 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 34541 invoked by uid 500); 31 Mar 2008 17:36:46 -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 34532 invoked by uid 99); 31 Mar 2008 17:36:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 10:36:46 -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, 31 Mar 2008 17:36:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A6855234C0B3 for ; Mon, 31 Mar 2008 10:34:24 -0700 (PDT) Message-ID: <615445231.1206984864681.JavaMail.jira@brutus> Date: Mon, 31 Mar 2008 10:34:24 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Resolved: (STDCXX-803) [MSVC] error on std::bitset ctor in 23.bitset.cpp In-Reply-To: <655395421.1206738144507.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-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farid Zaripov resolved STDCXX-803. ---------------------------------- Resolution: Fixed Resolved thus: http://svn.apache.org/viewvc?rev=643072&view=rev > [MSVC] error on std::bitset ctor in 23.bitset.cpp > ------------------------------------------------- > > Key: STDCXX-803 > URL: https://issues.apache.org/jira/browse/STDCXX-803 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Affects Versions: 4.2.0 > Environment: MSVC 8, 9 > Reporter: Martin Sebor > Assignee: Farid Zaripov > Fix For: 4.2.1 > > Attachments: bitset.log > > > In stdcxx 4.2.0 as well as on the head of trunk, the test [23.bitset|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/containers/23.bitset.cpp] fails to compile with both MSVC 8.0 and 9.0 with errors similar to the one below. > {noformat} > Compiling... > 23.bitset.cpp > ..\..\..\..\tests\containers\23.bitset.cpp(753) : warning C4624: 'std::char_traits' : destructor could not be generated because a base class destructor is inaccessible > ..\..\..\..\tests\containers\23.bitset.cpp(842) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data > ..\..\..\..\tests\containers\23.bitset.cpp(401) : error C2668: 'std::bitset<_Size>::bitset' : ambiguous call to overloaded function > with > [ > _Size=0x00 > ] > $(TOPDIR)\include\bitset(287): could be 'std::bitset<_Size>::bitset(long)' > with > [ > _Size=0x00 > ] > $(TOPDIR)\include\bitset(283): or 'std::bitset<_Size>::bitset(unsigned int)' > with > [ > _Size=0x00 > ] > $(TOPDIR)\include\bitset(279): or 'std::bitset<_Size>::bitset(int)' > with > [ > _Size=0x00 > ] > $(TOPDIR)\include\bitset(161): or 'std::bitset<_Size>::bitset(unsigned long)' > with > [ > _Size=0x00 > ] > while trying to match the argument list '(const size_t)' > ..\..\..\..\tests\containers\23.bitset.cpp(1303) : see reference to function template instantiation 'void test_ctors<0x00>(const std::bitset<_Size> *)' being compiled > with > [ > _Size=0x00 > ] > ..\..\..\..\tests\containers\23.bitset.cpp(1322) : see reference to function template instantiation 'void run_test<0x00>(const std::bitset<_Size> *)' being compiled > with > [ > _Size=0x00 > ] > ..\..\..\..\tests\containers\23.bitset.cpp(417) : error C2678: binary '==' : no operator found which takes a left-hand operand of type 'const std::bitset<_Size>' (or there is no acceptable conversion) > with > [ > _Size=0x00 > ] > C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\guiddef.h(192): could be 'int operator ==(const GUID &,const GUID &)' > $(TOPDIR)\include\bitset(433): or 'bool std::bitset<_Size>::operator ==(const std::bitset<_Size> &) const' > with > [ > _Size=0x00 > ] > while trying to match the argument list '(const std::bitset<_Size>, const size_t)' > with > [ > _Size=0x00 > ] > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.