[cfe-dev] msvc 1900

Reid Kleckner rnk at google.com
Tue Oct 28 09:23:22 PDT 2014


Makes sense. I'll try to commit this when I get to it.

Sent from phone
On Oct 28, 2014 6:18 AM, "Yann Nayn" <yann.nayn at yahoo.fr> wrote:

> Hi,
> my bad the version number is 22129.1
> Here's cl 22192.1 output
>
> t.cpp
> ---------------
> #include <system_error>
>
> class _XXX_error_category : public std::error_category {
>     const char* name() const  override;
> };
> ---------------
> t.cpp(4): error C2694: 'const char *_XXX_error_category::name(void)
> const': overriding virtual function has less restrictive exception
> specification than base class virtual member function
> 'const char *std::error_category::name(void) noexcept const'
> t.cpp(4): note: see declaration of '_XXX_error_category::name'
> <system-include>\system_error(162): note: see declaration of
> 'std::error_category::name'
> --------------------
> LOL dont spam the messenger :)
>
> Cheers
> Yann
>
>
>   On Monday, October 27, 2014 10:23 PM, Yann Nayn <yann.nayn at yahoo.fr>
> wrote:
>
>
> Hi ,
> we do succeed compiling  clang trunk using msvc 19.00.22229.1 (aka ctp 4)
> this update (unlike 19.00.22013.1 aka ctp3) requires LLVM_NOEXCEPT to be
> defined
> as noexcept as it is done when _MSC_VER is not defined in
> llvm/Support/compiler.h )
>
> I'm aware this is the cfe dev mailing list .
> Could the definition be made msvc version dependent ?
> btw the trunk compiles smoothly using gcc 4.9.1.
>
> Regards
> Yann
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141028/ce5b3d89/attachment.html>


More information about the cfe-dev mailing list