[llvm] r210920 - Finishing touch for the std::error_code transition.

Hal Finkel hfinkel at anl.gov
Tue Jun 17 07:15:31 PDT 2014


----- Original Message -----
> From: "Jeffrey Yasskin" <jyasskin at google.com>
> To: "Rafael EspĂ­ndola" <rafael.espindola at gmail.com>
> Cc: "Hal Finkel" <hfinkel at anl.gov>, "Marshall Clow" <mclow.lists at gmail.com>, "Commit Messages and Patches for LLVM"
> <llvm-commits at cs.uiuc.edu>
> Sent: Friday, June 13, 2014 4:35:00 PM
> Subject: Re: [llvm] r210920 - Finishing touch for the std::error_code transition.
> 
> On Fri, Jun 13, 2014 at 10:53 PM, Rafael EspĂ­ndola
> <rafael.espindola at gmail.com> wrote:
> >> That's not what I meant; I meant to constrain std::errc from being
> >> a namespace. But it sounds like that is already done ;)
> >>
> >
> > I assume that is being a namespace is just a bug in the
> > implementation
> > that came with msvc 2012.
> 
> If it's still there in the latest version of MSVC, let us know and
> we'll complain to the responsible person next week.

I chatted with Stephan Lavavej a few minutes ago, and he's confirmed this is fixed in MSVC 2013. He specifically referred me to his blog:
  http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx

specifically this:

[from blog]
Scoped enums were implemented in the Visual C++ 2012 compiler, but due to a long story involving a compiler bug with /clr, we weren't able to use them in the STL for that release.  In Visual C++ 2013, we were able to get rid of our fake scoped enums (simulated by wrapping traditional unscoped enums in namespaces, which is observably imperfect).
[end from blog]

 -Hal

> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory




More information about the llvm-commits mailing list