You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed by adding <stdexcept.h> into Servus/servus/serializable.h
[sbanks@ys]~/git/ZeroBuf/build% make
Scanning dependencies of target Servus
[ 5%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/version.cpp.o
[ 10%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/md5/md5.cc.o
[ 15%] Building CXX object Servus/servus/CMakeFiles/Servus.dir/serializable.cpp.o
In file included from /home/sbanks/git/ZeroBuf/Servus/servus/serializable.cpp:20:
/home/sbanks/git/ZeroBuf/Servus/servus/serializable.h: In member function ‘virtual bool servus::Serializable::_fromBinary(const void*, size_t)’:
/home/sbanks/git/ZeroBuf/Servus/servus/serializable.h:135:20: error: ‘runtime_error’ is not a member of ‘std’
135 | throw std::runtime_error("Binary deserialization not implemented");
| ^~~~~~~~~~~~~
/home/sbanks/git/ZeroBuf/Servus/servus/serializable.h:136:5: error: no return statement in function returning non-void [-Werror=return-type]
136 | }
The text was updated successfully, but these errors were encountered:
Fixed by adding <stdexcept.h> into Servus/servus/serializable.h
The text was updated successfully, but these errors were encountered: