stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STDCXX-71) [MSVC 8.0] errors on errno in <cerrno>, <errno.h>, and <cstdlib> or <stdlib.h>
Date Fri, 09 Dec 2005 01:23:09 GMT
     [ http://issues.apache.org/jira/browse/STDCXX-71?page=all ]
     
Martin Sebor closed STDCXX-71:
------------------------------

    Resolution: Fixed

Fixed with the referenced change.

> [MSVC 8.0] errors on errno in <cerrno>, <errno.h>, and <cstdlib> or
<stdlib.h>
> ------------------------------------------------------------------------------
>
>          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
>     Assignee: 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 <nicoara@roguewave.com>
> 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 <stdlib.h>
> #include <cerrno>
> 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


Mime
View raw message