stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <Farid_Zari...@epam.com>
Subject RE: svn commit: r597425 - in /incubator/stdcxx/branches/4.2.x: include/ansi/cwchar tests/strings/21.cwchar.cpp
Date Wed, 28 Nov 2007 16:53:43 GMT
> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Wednesday, November 28, 2007 6:21 PM
> To: stdcxx-dev@incubator.apache.org
> Subject: Re: svn commit: r597425 - in 
> /incubator/stdcxx/branches/4.2.x: include/ansi/cwchar 
> tests/strings/21.cwchar.cpp
> 
> faridz@apache.org wrote:
> > Author: faridz
> > Date: Thu Nov 22 07:20:29 2007
> > New Revision: 597425
> > 
> > URL: http://svn.apache.org/viewvc?rev=597425&view=rev
> 
> If _RWSTD_STRICT_ANSI is not #defined and one or both of getwc
> or putwc is shadowed by a macro, aren't the using declarations
> for the two functions going to cause problems?

  Do you meant "_RWSTD_STRICT_ANSI is defined" ?

  If so, yes, there would be a compiler errors if the compiler
CRT doesn't provide getwc() and/or putwc().

  MSVC provides both getwc() and putwc() and also
#defines getwc and putwc macros.

Farid.

Mime
View raw message