Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Cannot build vs2014 solution

$
0
0
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.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>