GCC 11 defaults to C++17, and thus provides std::clamp(T, T, T).
fileformat/pfsinyuv.cpp (re)defines clamp in the global namespace.
As pfsinyuv.cpp has a "using namespace std" from pfsutils.cpp, both definitions clash.
The following patch fixes the issue:
Patched applied and pushed to the master branch. Thanks for the fix.
Log in to post a comment.
The following patch fixes the issue:
Patched applied and pushed to the master branch. Thanks for the fix.