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
src/lz4mt.cpp:310:3: error: no matching function for call to ‘std::function<int(void*, const char*, char*, int, int)>::function(void*)’
)
^
/usr/include/c++/functional:1913:9: error: no type named ‘type’ in ‘class std::result_of<void*&(void*, const char*, char*, int, int)>’
typename = _Requires<_Callable<_Functor>, void>>
^~~~~~~~
/usr/include/c++/functional:1888:7: note: candidate: std::function<_Res(_ArgTypes ...)>::function(std::function<_Res(_ArgTypes ...)>&&) [with _Res = int; _ArgTypes = {void*, const char*, char*, int, int}]
function(function&& __x) noexcept : _Function_base()
^~~~~~~~
/usr/include/c++/functional:1888:7: note: no known conversion for argument 1 from ‘void*’ to ‘std::function<int(void*, const char*, char*, int, int)>&&’
/usr/include/c++/functional:2092:5: note: candidate: std::function<_Res(_ArgTypes ...)>::function(const std::function<_Res(_ArgTypes ...)>&) [with _Res = int; _ArgTypes = {void*, const char*, char*, int, int}]
function<_Res(_ArgTypes...)>::
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
and warnings:
In file included from src/lz4mt.cpp:12:0:
lz4/lib/lz4.h:788:67: note: declared here
LZ4_DEPRECATED("Use LZ4_resetStream() instead") LZ4LIB_API int LZ4_resetStreamState(void* state, char* inputBuffer);
^~~~~~~~~~~~~~~~~~~~
src/lz4mt.cpp:315:50: warning: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
LZ4_resetStreamState(lz4Ctx.get(), inputBuffer);
^
In file included from src/lz4mt.cpp:12:0:
lz4/lib/lz4.h:788:67: note: initializing argument 2 of ‘int LZ4_resetStreamState(void*, char*)’
LZ4_DEPRECATED("Use LZ4_resetStream() instead") LZ4LIB_API int LZ4_resetStreamState(void* state, char* inputBuffer);
^~~~~~~~~~~~~~~~~~~~
src/lz4mt.cpp:315:50: warning: ‘int LZ4_resetStreamState(void*, char*)’ is deprecated: Use LZ4_resetStream() instead [-Wdeprecated-declarations]
LZ4_resetStreamState(lz4Ctx.get(), inputBuffer);
^
All related to deprecated syntax.
Also minor thing, like u=outdated paths to xxhash in Makefile and unnecessary CRLF for .sln, .vcxproj, .vcxproj.filters files in .gitattributes.
I would do PR if it was alive.
The text was updated successfully, but these errors were encountered:
I stumbled upon all bunch off errors:
and warnings:
All related to deprecated syntax.
Also minor thing, like u=outdated paths to xxhash in Makefile and unnecessary CRLF for .sln, .vcxproj, .vcxproj.filters files in .gitattributes.
I would do PR if it was alive.
The text was updated successfully, but these errors were encountered: