From stdcxx-dev-return-323-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Wed Nov 23 18:05:01 2005 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 41357 invoked from network); 23 Nov 2005 18:05:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Nov 2005 18:05:01 -0000 Received: (qmail 67053 invoked by uid 500); 23 Nov 2005 18:05:00 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 66984 invoked by uid 500); 23 Nov 2005 18:05:00 -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 66972 invoked by uid 99); 23 Nov 2005 18:04:59 -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; Wed, 23 Nov 2005 10:04:57 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A9919232 for ; Wed, 23 Nov 2005 19:04:36 +0100 (CET) Message-ID: <441989517.1132769076692.JavaMail.jira@ajax.apache.org> Date: Wed, 23 Nov 2005 19:04:36 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-71) [MSVC 8.0] errors on errno in 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.0] errors on errno in -------------------------------------- Key: STDCXX-71 URL: http://issues.apache.org/jira/browse/STDCXX-71 Project: STDCXX Type: Bug Components: 19. Diagnostics Versions: 4.1.2 Environment: MSVC 8 Reporter: Martin Sebor Assigned to: Martin Sebor Priority: Critical Fix For: 4.1.3 >From http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200511.mbox/%3c4383A373.5010700@roguewave.com%3e: Date: Tue, 22 Nov 2005 16:02:11 -0700 From: Liviu Nicoara To: stdcxx-dev@incubator.apache.org Subject: Compilation error on Windows + MSVC 8.0 in the presence of stdlib headers Martin, The following error popped up during certification with vc 8.0 on Windows 2k3 (all build types): $ cat t.cpp #include #include int foo = errno; The error is: $ cl /* various options, includes */ -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -nologo -EHsc -Zc:wchar_t -MDd -W3 -Zi -GA -GR -c t.cpp t.cpp c:\build\nicoara\hal\include\ansi\cerrno(77) : error C2039: 'errno' : is not a member of '`global namespace'' c:\build\nicoara\hal\include\ansi\cerrno(77) : error C2873: 'errno' : symbol can not be used in a using-declaration c:\build\nicoara\hal\source\tools\t.cpp(4) : error C2065: 'errno' : undeclared identifier NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2' Stop. Liviu -- 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