HBPVIS / Servus

Zeroconf discovery in C++
Other
67 stars 36 forks source link

Missing stdexpect in Servus buld... #101

Open Dweller opened 3 years ago

Dweller commented 3 years ago

Fixed by adding 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 |     }
umlaeute commented 1 year ago

Hasn't this been fixed with 53bf825cd995a7d2f569157f20431daf0cc860f8?