[cfe-dev] msvc 1900

Yann Nayn yann.nayn at yahoo.fr
Tue Oct 28 06:11:03 PDT 2014


Hi,my bad the version number is 22129.1Here'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 definedas 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.
RegardsYann

 
_______________________________________________
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/b156afbd/attachment.html>


More information about the cfe-dev mailing list