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
After upgrading to 1.73.0 () from 1.71.0 I'm getting the following warning/error when compiling:
include/boost/beast/core/impl/file_stdio.ipp(273,71): warning C4003: not enough arguments for function-like macro invocati on 'max'
include/boost/beast/core/impl/file_stdio.ipp(273,71): error C2589: '(': illegal token on right side of '::'
include/boost/beast/core/impl/file_stdio.ipp(275,7): error C2062: type 'unknown-type' unexpected
include/boost/beast/core/impl/file_stdio.ipp(273): error C2144: syntax error: 'unknown-type' should be preceded by '('
include/boost/beast/core/impl/file_stdio.ipp(273,77): error C2059: syntax error: ')'
include/boost/beast/core/impl/file_stdio.ipp(274,5): error C2143: syntax error: missing ';' before '{'
Maybe you forgot to wrap the call to std::numeric_limits::max() in parenthesis (from #1687): if (offset > static_cast<std::uint64_t>((std::numeric_limits<long>::max)()))
After upgrading to 1.73.0 () from 1.71.0 I'm getting the following warning/error when compiling:
beast/include/boost/beast/core/impl/file_stdio.ipp
Line 273 in f25c904
Maybe you forgot to wrap the call to std::numeric_limits::max() in parenthesis (from #1687):
if (offset > static_cast<std::uint64_t>((std::numeric_limits<long>::max)()))
Build info:
The text was updated successfully, but these errors were encountered: