Thanks a lot, I see the changes, the git repository is yours for lool. I tried compiling but I get the same error.
make: Entering directory /opt/online' make all-recursive make[1]: Entering directory/opt/onlineā
Making all in .
make[2]: Entering directory /opt/online' CXX wsd/loolwsd_fuzzer-Admin.o CXX wsd/loolwsd_fuzzer-AdminModel.o In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/AdminModel.cpp:10: ./common/Protocol.hpp: In function āstd::string LOOLProtocol::getAbbreviatedMessage(const string&)ā: ./common/Protocol.hpp:268:93: error: no matching function for call to āmin(std::basic_string<char>::size_type, long unsigned int)ā const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ ./common/Protocol.hpp:268:93: note: candidates are: In file included from /usr/include/c++/4.9/memory:62:0, from wsd/AdminModel.hpp:13, from wsd/AdminModel.cpp:10: /usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/AdminModel.cpp:10: ./common/Protocol.hpp:268:93: note: deduced conflicting types for parameter āconst _Tpā (āunsigned intā and ālong unsigned intā) const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from /usr/include/c++/4.9/memory:62:0, from wsd/AdminModel.hpp:13, from wsd/AdminModel.cpp:10: /usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/AdminModel.cpp:10: ./common/Protocol.hpp:268:93: note: deduced conflicting types for parameter āconst _Tpā (āunsigned intā and ālong unsigned intā) const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from /usr/include/c++/4.9/algorithm:62:0, from /usr/local/include/Poco/Any.h:23, from /usr/local/include/Poco/Format.h:24, from /usr/local/include/Poco/Logger.h:26, from ./common/Log.hpp:20, from wsd/AdminModel.hpp:19, from wsd/AdminModel.cpp:10: /usr/include/c++/4.9/bits/stl_algo.h:3439:5: note: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>) min(initializer_list<_Tp> __l) ^ /usr/include/c++/4.9/bits/stl_algo.h:3439:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/AdminModel.cpp:10: ./common/Protocol.hpp:268:93: note: mismatched types āstd::initializer_list<_Tp>ā and āunsigned intā const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from /usr/include/c++/4.9/algorithm:62:0, from /usr/local/include/Poco/Any.h:23, from /usr/local/include/Poco/Format.h:24, from /usr/local/include/Poco/Logger.h:26, from ./common/Log.hpp:20, from wsd/AdminModel.hpp:19, from wsd/AdminModel.cpp:10: /usr/include/c++/4.9/bits/stl_algo.h:3444:5: note: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare) min(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/include/c++/4.9/bits/stl_algo.h:3444:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/AdminModel.cpp:10: ./common/Protocol.hpp:268:93: note: mismatched types āstd::initializer_list<_Tp>ā and āunsigned intā const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/Admin.hpp:23, from wsd/Admin.cpp:28: ./common/Protocol.hpp: In function āstd::string LOOLProtocol::getAbbreviatedMessage(const string&)ā: ./common/Protocol.hpp:268:93: error: no matching function for call to āmin(std::basic_string<char>::size_type, long unsigned int)ā const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ ./common/Protocol.hpp:268:93: note: candidates are: In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0, from /usr/include/c++/4.9/string:40, from /usr/include/c++/4.9/stdexcept:39, from /usr/include/c++/4.9/array:38, from /usr/include/c++/4.9/tuple:39, from /usr/include/c++/4.9/mutex:38, from wsd/Admin.cpp:13: /usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) min(const _Tp& __a, const _Tp& __b) ^ /usr/include/c++/4.9/bits/stl_algobase.h:194:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/Admin.hpp:23, from wsd/Admin.cpp:28: ./common/Protocol.hpp:268:93: note: deduced conflicting types for parameter āconst _Tpā (āunsigned intā and ālong unsigned intā) const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from /usr/include/c++/4.9/bits/char_traits.h:39:0, from /usr/include/c++/4.9/string:40, from /usr/include/c++/4.9/stdexcept:39, from /usr/include/c++/4.9/array:38, from /usr/include/c++/4.9/tuple:39, from /usr/include/c++/4.9/mutex:38, from wsd/Admin.cpp:13: /usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) min(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ /usr/include/c++/4.9/bits/stl_algobase.h:240:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/Admin.hpp:23, from wsd/Admin.cpp:28: ./common/Protocol.hpp:268:93: note: deduced conflicting types for parameter āconst _Tpā (āunsigned intā and ālong unsigned intā) const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from /usr/include/c++/4.9/algorithm:62:0, from /usr/local/include/Poco/String.h:26, from /usr/local/include/Poco/Net/NameValueCollection.h:24, from /usr/local/include/Poco/Net/MessageHeader.h:24, from /usr/local/include/Poco/Net/HTTPMessage.h:24, from /usr/local/include/Poco/Net/HTTPRequest.h:24, from wsd/Admin.cpp:17: /usr/include/c++/4.9/bits/stl_algo.h:3439:5: note: template<class _Tp> _Tp std::min(std::initializer_list<_Tp>) min(initializer_list<_Tp> __l) ^ /usr/include/c++/4.9/bits/stl_algo.h:3439:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/Admin.hpp:23, from wsd/Admin.cpp:28: ./common/Protocol.hpp:268:93: note: mismatched types āstd::initializer_list<_Tp>ā and āunsigned intā const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ In file included from /usr/include/c++/4.9/algorithm:62:0, from /usr/local/include/Poco/String.h:26, from /usr/local/include/Poco/Net/NameValueCollection.h:24, from /usr/local/include/Poco/Net/MessageHeader.h:24, from /usr/local/include/Poco/Net/HTTPMessage.h:24, from /usr/local/include/Poco/Net/HTTPRequest.h:24, from wsd/Admin.cpp:17: /usr/include/c++/4.9/bits/stl_algo.h:3444:5: note: template<class _Tp, class _Compare> _Tp std::min(std::initializer_list<_Tp>, _Compare) min(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/include/c++/4.9/bits/stl_algo.h:3444:5: note: template argument deduction/substitution failed: In file included from ./wsd/LOOLWebSocket.hpp:22:0, from wsd/AdminModel.hpp:20, from wsd/Admin.hpp:23, from wsd/Admin.cpp:28: ./common/Protocol.hpp:268:93: note: mismatched types āstd::initializer_list<_Tp>ā and āunsigned intā const auto pos = getDelimiterPosition(message.data(), std::min(message.size(), 500UL), '\n'); ^ make[2]: *** [wsd/loolwsd_fuzzer-AdminModel.o] Error 1 make[2]: *** Waiting for unfinished jobs.... wsd/Admin.cpp: In member function āvirtual void MemoryStatsTask::run()ā: wsd/Admin.cpp:336:18: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (totalMem != _lastTotalMemory) ^ cc1plus: all warnings being treated as errors make[2]: *** [wsd/loolwsd_fuzzer-Admin.o] Error 1 make[2]: Leaving directory/opt/onlineā
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/onlineā
make: *** [all] Error 2