Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 24684 invoked from network); 30 Nov 2005 01:23:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Nov 2005 01:23:54 -0000 Received: (qmail 21884 invoked by uid 500); 30 Nov 2005 01:23:54 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 21869 invoked by uid 500); 30 Nov 2005 01:23:54 -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 21855 invoked by uid 99); 30 Nov 2005 01:23:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 17:23:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D8328CB for ; Wed, 30 Nov 2005 02:23:31 +0100 (CET) Message-ID: <1886747100.1133313811867.JavaMail.jira@ajax.apache.org> Date: Wed, 30 Nov 2005 02:23:31 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-73) [MSVC 8] std::type_info declared in the wrong namespace Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [MSVC 8] std::type_info declared in the wrong namespace ------------------------------------------------------- Key: STDCXX-73 URL: http://issues.apache.org/jira/browse/STDCXX-73 Project: STDCXX Type: Bug Components: 18. Language Support Versions: 4.1.2 Environment: MSVC 8.0, Windows Reporter: Martin Sebor Assigned to: Martin Sebor Priority: Blocker Fix For: 4.1.3 $ cat t.cpp && nmake -nologo t.exe #include void foo (const std::type_info&) { } int main () { foo (typeid (int)); } cl -D_RWCONFIG=15d_msvc_8_0 -Ic:\contrib\cygwin\build\sebor\dev-hal/include -I.\..\..\..\../include -Ic:\contrib\cygwin\build\sebor\dev-hal\tests\stdlib\support/../include -Ic:/contrib/cygwin/build/sebor/dev-hal/include/ansi -I.\..\..\..\.. -Ic:\contrib\cygwin\build\sebor\dev-hal -Ic:\contrib\cygwin\build\sebor\dev-hal\tests\stdlib\support -I. -nologo -EHsc -Zc:wchar_t -MDd -W3 -Zi -GR -GF -RTC1 -D_CRT_SECURE_NO_DEPRECATE -c t.cpp t.cpp t.cpp(7) : error C2664: 'foo' : cannot convert parameter 1 from 'const type_info' to 'const std::type_info &' Reason: cannot convert from 'const type_info' to 'const std::type_info' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' Stop. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira