Cannot build vs2014 solution

Oct 11, 2014 at 5:53 PM
Hi,
I tried to build the vs2014 solution from a clean git clone from the development branch (I have vs 2014 ctp4 installed on Win7 64 bit). There error is this:
f:\projects\dev_tools\cpprest\dev\release\include\cpprest\asyncrt_utils.h(253): error C2694: 'const char *utility::details::windows_category_impl::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'
The function is:
virtual const char *name() const _noexcept { return "windows"; }
The issue is '_noexcept' which is a #define as nothing, while the base class has the similar macro defined to 'noexcept'.
If this is fixed the compilation breaks somewhere in a json unit.

The same issue exists if I try to build from the command line.

G.
Coordinator
Oct 14, 2014 at 4:46 PM
Hi G,

We still are in the process of adding VS2014 support, but it looks like we have a noexcept mismatch conflict. This definitely will be fixed.

Thanks for reporting the issue. I've opened #300 to track it.

Steve